Skip to content

fix(sql): fix an issue where a query declared under WITH, using TIMESTAMP(ts), would result in parsing error#5746

Merged
bluestreak01 merged 6 commits intomasterfrom
mt_fix-parsing
Jun 17, 2025
Merged

fix(sql): fix an issue where a query declared under WITH, using TIMESTAMP(ts), would result in parsing error#5746
bluestreak01 merged 6 commits intomasterfrom
mt_fix-parsing

Conversation

@mtopolnik
Copy link
Copy Markdown
Contributor

The issue was in GenericLexer.stash()/unstash(), it wasn't stashing this.next.

this.next must be stashed as well
@mtopolnik mtopolnik marked this pull request as ready for review June 14, 2025 09:41
@glasstiger
Copy link
Copy Markdown
Contributor

[PR Coverage check]

😍 pass : 18 / 18 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/std/GenericLexer.java 18 18 100.00%

@bluestreak01 bluestreak01 merged commit b4fce21 into master Jun 17, 2025
37 checks passed
@bluestreak01 bluestreak01 deleted the mt_fix-parsing branch June 17, 2025 17:07
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.

4 participants