-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Extract SystemTableProvider from Hive #23380
Conversation
38dcca3
to
47eff89
Compare
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/RawSystemTableProvider.java
Outdated
Show resolved
Hide resolved
fc5c9b5
to
08c3d65
Compare
CI failure: #22861 |
08c3d65
to
d169786
Compare
core/trino-spi/src/main/java/io/trino/spi/connector/SystemTableProvider.java
Outdated
Show resolved
Hide resolved
d169786
to
74a01e7
Compare
74a01e7
to
c22268e
Compare
What is the reasoning for this change? Do you have plans to use this for other connectors? If we don't have any near-term plans, then let's revert this, and it can be added when it will be used. |
Also, there is a cost to sharing code, and seemingly no benefit here. What's the usefulness in extracting an interface that will be used independently by different connectors? There is no shared implementation that would need to be fixed in multiple places. But if we need to make a change to one of the connectors but not the others, the artificial coupling here makes that change harder. If you need a similar internal interface in another connector, simply copy the (two method) interface to the other connector. |
Description
Allow to define system table providers for Iceberg similar to Hive.
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: