Skip to content

fix: address CodeRabbit v3 — allow UNION queries, document --api-key - #1

Open
tusharsharma20021114-rgb wants to merge 1 commit into
complete-fix-and-new-feature-addedfrom
codereview-fixes-v3
Open

fix: address CodeRabbit v3 — allow UNION queries, document --api-key#1
tusharsharma20021114-rgb wants to merge 1 commit into
complete-fix-and-new-feature-addedfrom
codereview-fixes-v3

Conversation

@tusharsharma20021114-rgb

Copy link
Copy Markdown
Owner

Summary

Fixes the 2 new CodeRabbit comments from the third review on PR Canner#2551:

  1. policy.py — Change whitelist from (exp.Select, exp.Explain) to (exp.Query, exp.Explain, exp.Subquery) to allow UNION, INTERSECT, EXCEPT, and parenthesized SELECT queries (BI tools compatibility).

  2. cli.md — Add --api-key row to the wren serve mcp options table.

Verification

  • pytest: 987 passed, 65 failed (pre-existing), 59 skipped
  • cargo check --all-targets --all-features: clean

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.

1 participant