Skip to content

fix(sql): array NULL comparison failure#5935

Merged
bluestreak01 merged 3 commits intomasterfrom
vi_fix_arr_parsing
Jul 15, 2025
Merged

fix(sql): array NULL comparison failure#5935
bluestreak01 merged 3 commits intomasterfrom
vi_fix_arr_parsing

Conversation

@bluestreak01
Copy link
Copy Markdown
Member

@bluestreak01 bluestreak01 commented Jul 12, 2025

Fixes internal error from this SQL

SELECT (null::double[] = null::double[]) eq FROM long_sequence(1)

@bluestreak01 bluestreak01 changed the title fix(sql): disallow creation of undefined arrays fix(sql): array NULL comparison failure Jul 12, 2025
@glasstiger
Copy link
Copy Markdown
Contributor

[PR Coverage check]

😍 pass : 4 / 4 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/griffin/ExpressionParser.java 3 3 100.00%
🔵 io/questdb/cairo/arr/ArrayView.java 1 1 100.00%

@bluestreak01 bluestreak01 added Bug Incorrect or unexpected behavior SQL Issues or changes relating to SQL execution labels Jul 13, 2025
@bluestreak01 bluestreak01 merged commit bd0daa0 into master Jul 15, 2025
36 checks passed
@bluestreak01 bluestreak01 deleted the vi_fix_arr_parsing branch July 15, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Incorrect or unexpected behavior SQL Issues or changes relating to SQL execution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants