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-545] Fix importing GeometryType from sedona.spark #1532

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented Jul 31, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Fix a problem introduced by #1371, from sedona.spark import GeometryType imports the GeometryType function defined in st_functions rather than sedona.sql.types.GeometryType.

How was this patch tested?

Add a new test that imports GeometryType from sedona.spark and verify that it should be a user-defined type.

Did this PR include necessary documentation updates?

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

@Kontinuation Kontinuation marked this pull request as ready for review July 31, 2024 13:07
@jiayuasu jiayuasu added this to the sedona-1.6.1 milestone Jul 31, 2024
@jiayuasu jiayuasu added the bug label Jul 31, 2024
@jiayuasu jiayuasu merged commit a96bb1f into apache:master Jul 31, 2024
29 checks passed
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