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-478] Sedona 1.5.1 context initialization fails without GeoTools coverage #1394

Merged
merged 2 commits into from
May 1, 2024

Conversation

jiayuasu
Copy link
Member

@jiayuasu jiayuasu commented May 1, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

  1. Refactor the raster registration flow so raster functions which relies on GeoTools become optional.
  2. The RasterUDT and Raster UDAF will be registered only if GeoTools coverage exists
  3. Regular raster UDF will still be registered anyways but they will not block the registration process since they will not be loaded unless someone explicitly call them.

How was this patch tested?

Passed local tests

Did this PR include necessary documentation updates?

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

@jiayuasu jiayuasu added the bug label May 1, 2024
@jiayuasu jiayuasu added this to the sedona-1.6.0 milestone May 1, 2024
@jiayuasu jiayuasu merged commit 883fd8e into master May 1, 2024
42 checks passed
@jiayuasu jiayuasu deleted the SEDONA-478 branch May 1, 2024 04:44
jiayuasu added a commit that referenced this pull request May 1, 2024
…ls coverage (#1394)

* Make Raster optional

* UDT registrator is not accessible in Spark 3.1 and before
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

1 participant