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

Support setting a schema name with @ScalarFunction annotation #24703

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Jan 14, 2025

Description

Add schema to @ScalarFunction so developers can implement catalog functions with the annotation.
Window functions, aggregate functions, and scalar operators are unsupported in this PR. I will support them once we agree on the approach.

This is preparation for #24200

Release notes

## SPI
* Add `getFunctions` method to `io.trino.spi.connector.Connector`. ({issue}`24703`)
* Add `schema` option to `@ScalarFunction`. ({issue}`24703`)

@cla-bot cla-bot bot added the cla-signed label Jan 14, 2025
@ebyhr ebyhr force-pushed the ebi/core-function branch 3 times, most recently from 8d53593 to cb46961 Compare January 15, 2025 05:01
@ebyhr ebyhr marked this pull request as ready for review January 15, 2025 05:08
@ebyhr ebyhr force-pushed the ebi/core-function branch from cb46961 to d2ac6b5 Compare January 15, 2025 05:09
@ebyhr ebyhr requested review from martint, wendigo and kasiafi January 15, 2025 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant