apache / apache/kyuubi

Implement Kyuubi UDF in Trino engine

Open
#4,939 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.

### What would you like to be improved?

Kyuubi implemented several UDFs in Spark engine

- `kyuubi_version`
- `engine_name`
- `engine_id`
- `system_user`
- `session_user`

To make consistent, we should implement them in other engines as well

### How should we improve?

_No response_

### Are you willing to submit PR?

- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [ ] No. I cannot submit a PR at this time.

Contributor guide

Open the contributing guide

Research direction

Locate the existing Spark-engine implementations of kyuubi_version, engine_name, engine_id, system_user, and session_user, then inspect how the Trino engine exposes UDFs. Implement the same five functions for Trino and verify that their behavior is consistent with the Spark engine.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala, sql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.