Skip to content

Fix 10+ parser tests with various improvements#41

Merged
kyleconroy merged 1 commit intomainfrom
claude/fix-failing-tests-l6QCM
Dec 25, 2025
Merged

Fix 10+ parser tests with various improvements#41
kyleconroy merged 1 commit intomainfrom
claude/fix-failing-tests-l6QCM

Conversation

@kyleconroy
Copy link
Copy Markdown
Collaborator

  • Add SelectIntersectExceptQuery AST type for INTERSECT/EXCEPT operations
  • Support nested multiline comments in lexer
  • Add FROM INFILE and COMPRESSION fields to InsertQuery
  • Improve nested array literal handling in EXPLAIN output
  • Combine tuple literals in IN expressions
  • Fix substr function name (should not be normalized to substring)
  • Fix WITH clause element handling for empty aliases
  • Remove incorrect pow -> power normalization

Enabled tests:

  • 02316_const_string_intersact (INTERSECT query)
  • 00021_3_select_with_in (IN tuple)
  • 02503_in_lc_const_args_bug (substr)
  • 01471_with_format (WITH without alias)
  • 00020_sorting_arrays (nested array literal)
  • 00559_filter_array_generic
  • 01491_nested_multiline_comments
  • 02264_format_insert_infile
  • 02264_format_insert_compression
  • 01774_tuple_null_in
  • Several other tests fixed by these changes

- Add SelectIntersectExceptQuery AST type for INTERSECT/EXCEPT operations
- Support nested multiline comments in lexer
- Add FROM INFILE and COMPRESSION fields to InsertQuery
- Improve nested array literal handling in EXPLAIN output
- Combine tuple literals in IN expressions
- Fix substr function name (should not be normalized to substring)
- Fix WITH clause element handling for empty aliases
- Remove incorrect pow -> power normalization

Enabled tests:
- 02316_const_string_intersact (INTERSECT query)
- 00021_3_select_with_in (IN tuple)
- 02503_in_lc_const_args_bug (substr)
- 01471_with_format (WITH without alias)
- 00020_sorting_arrays (nested array literal)
- 00559_filter_array_generic
- 01491_nested_multiline_comments
- 02264_format_insert_infile
- 02264_format_insert_compression
- 01774_tuple_null_in
- Several other tests fixed by these changes
@kyleconroy kyleconroy merged commit e0cd9ed into main Dec 25, 2025
1 check passed
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.

2 participants