Repository navigation
Conversation
Newer Dremio search endpoints require the queries list and no longer read the scalar query field. Send both so the CLI works against old and new backends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dremio search now accepts one or more terms, sent as the queries list. The legacy query field carries the first non-blank term for older backends. The max term count is enforced by the backend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Ticket: BDX-1369
Why
dremio/dremio#29340 (master) and dremio/dremio#29474 (sap-fork) changed the search request (
POST /v0/projects/{pid}/search,/api/v3/search) to requirequeries: list[str]. The scalarqueryfield is no longer read, sodremio searchfails against new backends.What changed
DremioClient.search()takesqueries: list[str]and sends only"queries"; the legacy"query"field is no longer sent.searchcommand accepts one or more terms (drs search "revenue" "sales"); multiple terms are searched as alternatives. A single term works as before. README and command introspection updated.[""]= match-all) case, plus a CLI-level multi-term test.Compatibility
Requires a Dremio version with the
queriescontract. Older versions read onlyqueryand will reject these requests.Validation
uv run ruff check .: passeduv run ruff format --check .: passeduv run pytest tests/: 235 passedNot tested against a live Dremio backend.
🤖 Generated with Claude Code