feat(queries): add classification and metadata to saved queries#134
Merged
shefeek-jinnah merged 4 commits intomainfrom Feb 26, 2026
Merged
feat(queries): add classification and metadata to saved queries#134shefeek-jinnah merged 4 commits intomainfrom
shefeek-jinnah merged 4 commits intomainfrom
Conversation
257fca2 to
c6573e4
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.
Summary
full_scan,projection,filtered_scan,point_lookup,aggregation,joincategory,num_tables,has_predicate,has_join,has_aggregation,has_group_by,has_order_by,has_limittags(array) anddescription(text) fields to saved queriescategory_overrideandtable_size_overridecolumns for future manual overrides (read APIs useCOALESCE(category_override, category))API Changes
POST /v1/queries— accepts optionaltagsanddescription; response includes classification fieldsPUT /v1/queries/{id}— accepts optionaltagsanddescription; updates without creating new version when only metadata changesGET /v1/queries/{id}andGET /v1/queries— responses includetags,description, and classification fieldsGET /v1/queries/{id}/versions— version entries include classification fieldsDesign Decisions
SessionContextper call to avoid racing with concurrent queries