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-120] Add ST_BuildArea function and tests #624

Merged
merged 4 commits into from
Apr 26, 2022

Conversation

krishnarb3
Copy link
Contributor

@krishnarb3 krishnarb3 commented Apr 25, 2022

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

  • ST_BuildArea function

How was this patch tested?

  • Scala, Python, Java integration tests

Did this PR include necessary documentation updates?

  • Yes, I have updated the documentation update.

@krishnarb3 krishnarb3 changed the title Add ST_BuildArea function and tests [SEDONA-120] Add ST_BuildArea function and tests Apr 25, 2022
@krishnarb3 krishnarb3 marked this pull request as ready for review April 25, 2022 12:23
extends UnaryGeometryExpression with CodegenFallback {
assert(inputExpressions.length == 1)

override protected def nullSafeEval(geometry: Geometry): Any = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should this be a nullable function?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, this should be a nullable function. So no need to extend UnaryGeometryExpression

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have updated the function and added null checks

@krishnarb3
Copy link
Contributor Author

@jiayuasu Have fixed the test failures, seems to be a transient issue with the CI

@jiayuasu jiayuasu merged commit 16e6a25 into apache:master Apr 26, 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.

2 participants