-
Notifications
You must be signed in to change notification settings - Fork 11
feat(server): add POST /query endpoint for ad-hoc SQL #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c809c1b
docs: design spec for POST /query ad-hoc SQL endpoint
BtXin d737db1
docs: implementation plan for POST /query endpoint
BtXin 547850d
docs(plan): extract shared require_session helper in Task 4
BtXin bbae155
feat(validator): block COPY, add single-statement validation with Sta…
BtXin 57c9595
feat(engine): add execute_with_limit pushing row cap into the plan
BtXin fcbbd61
refactor(server): extract response helpers into response.rs
BtXin c27d484
feat(server): add POST /query endpoint for ad-hoc SQL
BtXin 1bcc0c1
fix(server): record metrics on max_rows validation path, guard max_ro…
BtXin 37f10e8
chore: fmt/clippy fixes for query endpoint
BtXin 89f106f
fix(validator): close EXPLAIN/SET statement-policy bypass in /query
BtXin 1f8c0bb
fix(validator): reject PREPARE/EXECUTE in /query statement policy
BtXin b6ed69b
fix(server): address /query review — auth-schema denial, statement al…
BtXin b0d9169
chore(deps): unify sqlparser at 0.59 to match DataFusion's parser
BtXin f4b9475
fix(validator): close default-qualifier write bypass; fail closed on …
BtXin ca2c8a0
Merge branch 'main' into BtXin/feat/add_query_endpoint_to_server
BtXin 66818c9
refactor(validator): type-split ad-hoc policy, share DataFusion's par…
BtXin 133e1f4
fix(query): fail closed on multi-target DELETE; stop leaking engine i…
BtXin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.