Skip to content

fix(sql): prevent multiple DECLARE statements in single query block#6161

Merged
bluestreak01 merged 3 commits intomasterfrom
multi_declare
Sep 25, 2025
Merged

fix(sql): prevent multiple DECLARE statements in single query block#6161
bluestreak01 merged 3 commits intomasterfrom
multi_declare

Conversation

@kafka1991
Copy link
Copy Markdown
Collaborator

@kafka1991 kafka1991 commented Sep 19, 2025

Prevent multiple DECLARE statements in single query block.
closes #6155

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Sep 19, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch multi_declare

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kafka1991 kafka1991 changed the title fix(sql):Prevent multiple DECLARE statements in single query block fix(sql): prevent multiple DECLARE statements in single query block Sep 20, 2025
@glasstiger
Copy link
Copy Markdown
Contributor

[PR Coverage check]

😍 pass : 2 / 2 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/griffin/SqlParser.java 2 2 100.00%

@bluestreak01 bluestreak01 merged commit 9008004 into master Sep 25, 2025
36 checks passed
@bluestreak01 bluestreak01 deleted the multi_declare branch September 25, 2025 02:30
bluestreak01 pushed a commit that referenced this pull request Oct 9, 2025
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.

DECLARE fails when defined twice, but error is misleading

3 participants