Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spark): map from EqualNullSafe fn to is_not_distinct_from #306

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

andrew-coleman
Copy link
Contributor

Add support for the <=> operator (NULL safe equals) which gets generated by the spark optimiser for certain queries.

Enables three more successful TPC-DS tests.

@vbarua vbarua changed the title feat(spark): support NULL safe equality operator feat(spark): map from EqualNullSafe fn to is_not_distinct_from Oct 16, 2024
Copy link
Member

@vbarua vbarua left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -47,6 +47,7 @@ class FunctionMappings {
s[GreaterThan]("gt"),
s[GreaterThanOrEqual]("gte"),
s[EqualTo]("equal"),
s[EqualNullSafe]("is_not_distinct_from"),
Copy link
Member

Choose a reason for hiding this comment

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

Add support for the <=> operator (NULL safe equals) which gets
generated by the spark optimiser for certain queries.

Enables three more successful TPC-DS tests.

Signed-off-by: Andrew Coleman <[email protected]>
@vbarua vbarua merged commit 357cc01 into substrait-io:main Oct 16, 2024
13 checks passed
@andrew-coleman andrew-coleman deleted the not_distinct branch October 17, 2024 08:28
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