apache / apache/sedona

Enhancements: Allow users to register geospatial UDFs with various metastore options

Open
#2,427 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
784
Avg merge
1d 12h
Merged PRs (30d)
58

Description

For industry users utilizing HiveMetastore, IcebergRestCatalog, or other table metastore options, it may be helpful to provide an option for registering geospatial-related UDFs (user-defined functions) with the metastore of their choice. This would allow organizations to manage UDF registration more flexibly, instead of relying solely on built-in functions, which could complicate command resolution paths when many geospatial UDFs are present.

This is not an urgent request, but a tracking issue to consider adding support or documentation for registering Sedona geospatial UDFs with different metastore options (Hive, Iceberg, etc.), or offering guidelines for users with such needs.

Reference: [PR #2420 discussion](https://github.com/apache/sedona/pull/2420#discussion_r2452872125)

**Potential benefits:**
- Improved flexibility for enterprise deployments
- Avoid unnecessarily complicating function resolution for commands that do not use geospatial UDFs
- Support for advanced metastore setups

**Next steps:**
- Discuss implementation options
- Collect use cases from community/industry users
- Consider documentation or configuration options

Feel free to comment with additional ideas or requirements.

Contributor guide

Open the contributing guide

Research direction

Start with the PR #2420 discussion referenced by the issue, then compare the HiveMetastore and IcebergRestCatalog use cases described here. Done requires an agreed implementation or documentation/configuration scope, along with collected requirements from affected users.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.