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

[SEDONA-192] Null handling in predicates #712

Merged
merged 4 commits into from
Nov 16, 2022

Conversation

tanelk
Copy link
Contributor

@tanelk tanelk commented Nov 12, 2022

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Allow nulls in predicate inputs - currently they end with nullpointer exception. Also added the org.apache.spark.sql.catalyst.expressions.NullIntolerant trait to ST_Predicate, so catalyst optimizer can infer notnull filters on nullable inputs.

How was this patch tested?

Unittests

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the docs.

@jiayuasu jiayuasu added this to the sedona-1.3.0 milestone Nov 16, 2022
@jiayuasu jiayuasu merged commit 1a0c8e2 into apache:master Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants