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-221] Outer join throws NPE for null geometries. #749

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

umartin
Copy link
Contributor

@umartin umartin commented Jan 20, 2023

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

This fixes the issues in broadcast left and anti joins with null geometries.

Rows are mapped to (Geometry, UnsafeRow) to allow rows with null geometries to be emitted.
Conditions for left and anti joins, where nulls can happen, checks for null.

This patch also adds a SQLMetric for number of output row visible in spark-ui. All native Spark join exec have them

image

How was this patch tested?

Tests added

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.4.0 milestone Jan 20, 2023
@jiayuasu jiayuasu merged commit 9229439 into apache:master Jan 20, 2023
umartin added a commit to umartin/sedona that referenced this pull request Jan 27, 2023
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