Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Stop pagination on empty next page token #343

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

hectorcast-db
Copy link
Contributor

Changes

Stop pagination on empty next page token

Tests

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though we are depending on a library that exposes this functionality, would you mind changing this to token == null || token.isEmpty()? It's exactly what is done in the Google library, but it means we don't depend on Google for this, minimizing the surface area of external libraries we depend on.

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hectorcast-db hectorcast-db added this pull request to the merge queue Sep 10, 2024
Merged via the queue into main with commit ab39312 Sep 10, 2024
10 checks passed
@hectorcast-db hectorcast-db deleted the fix-pagination branch September 10, 2024 12:36
tanmay-db added a commit that referenced this pull request Sep 16, 2024
### New Features and Improvements

 * Remove proxy settings from databricks config and use commons http client builder for connection manager ([#337](#337)).

### Bug Fixes

 * Remove Path Parameters from JSON body ([#344](#344)).
 * Stop pagination on empty next page token ([#343](#343)).
github-merge-queue bot pushed a commit that referenced this pull request Sep 16, 2024
### New Features and Improvements

* Remove proxy settings from databricks config and use commons http
client builder for connection manager
([#337](#337)).


### Bug Fixes

* Remove Path Parameters from JSON body
([#344](#344)).
* Stop pagination on empty next page token
([#343](#343)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants