Skip to content

fix: type x_database_id on execute_saved_query (regenerate client)#94

Merged
zfarrell merged 2 commits into
mainfrom
worktree-compressed-petting-parrot
Jun 2, 2026
Merged

fix: type x_database_id on execute_saved_query (regenerate client)#94
zfarrell merged 2 commits into
mainfrom
worktree-compressed-petting-parrot

Conversation

@zfarrell
Copy link
Copy Markdown
Contributor

@zfarrell zfarrell commented Jun 2, 2026

Regenerates the client from the current OpenAPI spec, which now declares the required X-Database-Id header on execute_saved_query — so it's a typed x_database_id param like query(). Replaces the _headers workaround in the saved-query versioning integration test. Closes #93.

Comment thread CHANGELOG.md

- Typed `x_database_id` parameter on `SavedQueriesApi.execute_saved_query` (required) and `DatasetsApi.create_dataset`, scoping execution to a database the same way `QueryApi.query` does — no more `_headers` override.
- `database_id` field on `QueryRequest` as a body-level alternative to the `X-Database-Id` header.
- `storage_backend` field on `CreateDatabaseRequest` to select the default catalog's physical backend (`parquet` or `ducklake`).
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: (not blocking) The regenerated CreateDatabaseRequest.expires_at description changed from "Defaults to 24h when omitted" to "Omitted (or empty) means the database never expires" — a meaningful behavior change that callers relying on implicit 24h auto-expiry would want to know about. Worth a ### Changed entry here so it doesn't get lost in the regeneration.

@zfarrell zfarrell merged commit 53273c4 into main Jun 2, 2026
4 checks passed
@zfarrell zfarrell deleted the worktree-compressed-petting-parrot branch June 2, 2026 16:38
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.

execute_saved_query missing typed x_database_id param

1 participant