Skip to content

[CALCITE-7918] SQL validation takes too long for wider row types - #5394

Closed
darpan-14 wants to merge 2 commits into
apache:mainfrom
darpan-14:CALCITE-7918-case-insensitive
Closed

darpan-14 wants to merge 2 commits into
apache:mainfrom
darpan-14:CALCITE-7918-case-insensitive

Conversation

@darpan-14

@darpan-14 darpan-14 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Jira Link

CALCITE-7918

Both improvements have been consolidated into 5391 as two separate commits:

  1. Reuse SqlNameMatcher for field ambiguity checks.
  2. Add case-insensitive field-name indexing.

Reuse SqlNameMatcher for field-name ambiguity and JOIN-column uniqueness
checks. Retain all exact-name candidates in RelRecordType so duplicate
checks can reuse indexed lookup while insensitive matching still scans.
Add an independent lazy case-insensitive field-name index to RelRecordType.
Retain duplicate candidates and preserve runtime Unicode matching semantics.
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