Repository navigation
Follow the server's current /query/ contract - #41
Merged
Merged
Conversation
- Page by next_cursor instead of page numbers; a server that sends no cursor is still paged by number. - Drop the client's id tiebreaker: the server already makes every order total. - Resolve snake_case table names against the tables the caller's plan lists, since model names do not all follow one capitalisation. - Parse reference_date with utc=True and convert to output_timezone, so a result spanning a DST change no longer raises under pandas 3. - Strip the token, and refuse to initialize without one. - Wait out a 429 that asks to retry within seconds; a longer one still raises at once. - get_schema raises LakehouseError for a table that is not available. - Docs: end date is inclusive, granularities are hour/day/month/year, join keys, enum spellings, page_size default, a token is required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pedroripper
force-pushed
the
pr/query-cursor
branch
from
November 19, 2026 23:00
2bf81ca to
edec9b5
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pedroripper
force-pushed
the
pr/query-cursor
branch
from
November 19, 2026 23:09
edec9b5 to
3956361
Compare
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.
Brings the client in line with the current
/query/API.Changes
cursor=next_cursorinstead ofpage, so later pages cost what the first one does. A server without cursors is still paged by number.idtiebreaker. The server already makes every order total.reference_datecolumns are parsed withutc=Trueand converted tooutput_timezone(UTC when it is None); plain dates stay naive. Before, a result spanning a clock change raised under pandas 3.initialize()raises when no token is configured.get_schemaraisesLakehouseErrorinstead ofKeyErrorfor a table that is not available.datetime_granularityis hour/day/month/year, join keys, enum spellings,page_sizedefault, token required.Behaviour changes for callers
initialize()raises.get_model_namecontacts the API on first use.reference_datedtype is now the named zone rather than a fixed offset.Testing
🤖 Generated with Claude Code