Skip to content

Support IS (NOT) DISTINCT FROM in Unparser - #22054

Merged
kosiew merged 2 commits into
apache:mainfrom
pydantic:unparser_distinct_from
May 8, 2026
Merged

kosiew merged 2 commits into
apache:mainfrom
pydantic:unparser_distinct_from

Conversation

@cetra3

@cetra3 cetra3 commented May 7, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #22053

Rationale for this change

Extra support in the Unparser for IS DISTINCT FROM and IS NOT DISTINCT FROM expressions

What changes are included in this PR?

Changes to support operators in Unparser

Are these changes tested?

Yes, tests added

Are there any user-facing changes?

Not really!

@github-actions github-actions Bot added the sql SQL Planner label May 7, 2026

@kosiew kosiew left a comment

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.

@cetra3
Thanks for the fix.

Comment thread datafusion/sql/src/unparser/expr.rs Resolved
Comment thread datafusion/sql/src/unparser/expr.rs Resolved
@kosiew
kosiew added this pull request to the merge queue May 8, 2026
Merged via the queue into apache:main with commit bdb1c83 May 8, 2026
60 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unparser broken with IS DISTINCT FROM statements

3 participants