Repository navigation
Conversation
Contributor
dmunozv04
force-pushed
the
fix-sqllab-dataset-picker-pagination
branch
from
November 28, 2026 10:33
d645d23 to
a5bdda6
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #46571 +/- ##
==========================================
- Coverage 86.42% 86.41% -0.01%
==========================================
Files 3183 3183
Lines 222606 222606
Branches 52996 52996
==========================================
- Hits 192378 192376 -2
- Misses 26758 26760 +2
Partials 3470 3470
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
The dataset picker in SQL Lab’s Overwrite existing dialog ignored pagination arguments. The dataset API only returned the first 20 matching datasets on every request, and didn't load more on scroll.
This PR fixes it by passing
pageandpage_sizewith the dataset list request and also adds a regression test that fails without the fix applied.This issue is somewhat similar to #46569, although that one was only missing
page_size.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE: only 20 datasets load
before.mp4
AFTER: all datasets load, 100 on load and 100 more on demand when scrolling
after.mp4
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION