Skip to content

[CALCITE-6648] IGNORE NULLS / RESPECT NULLS window function option can result in a type validation error in SqlToRelConverter - #5209

Merged
xuzifu666 merged 1 commit into
apache:mainfrom
xuzifu666:calcite-6648
Aug 26, 2026
Merged

[CALCITE-6648] IGNORE NULLS / RESPECT NULLS window function option can result in a type validation error in SqlToRelConverter#5209
xuzifu666 merged 1 commit into
apache:mainfrom
xuzifu666:calcite-6648

Conversation

@xuzifu666

@xuzifu666 xuzifu666 commented Aug 23, 2026

Copy link
Copy Markdown
Member

jira: https://issues.apache.org/jira/browse/CALCITE-6648

Based on the Jira discussion, complete test cases demonstrating the issue were not provided at the time; I have since added the relevant tests, and it appears the issue is now resolved.

* IGNORE NULLS / RESPECT NULLS window function option can result in a type
* validation error in SqlToRelConverter</a>.
*
* <p>When the input to the window function is a non-nullable type, the null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the issue is solved I am not entirely sure what the point of the second part of this comment (and the one below) is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right; this comment is unnecessary, and I'll remove it later.

…n result in a type validation error in SqlToRelConverter
@sonarqubecloud

Copy link
Copy Markdown

@xuzifu666
xuzifu666 merged commit f511791 into apache:main Aug 26, 2026
19 checks 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