-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Remove Pinot Column Name Property #14086
Conversation
plugin/trino-pinot/src/main/java/io/trino/plugin/pinot/PinotConnector.java
Outdated
Show resolved
Hide resolved
plugin/trino-pinot/src/main/java/io/trino/plugin/pinot/PinotMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-pinot/src/main/java/io/trino/plugin/pinot/PinotTableProperties.java
Outdated
Show resolved
Hide resolved
plugin/trino-pinot/src/main/java/io/trino/plugin/pinot/PinotTableProperties.java
Outdated
Show resolved
Hide resolved
.../trino-pinot/src/test/java/io/trino/plugin/pinot/BasePinotIntegrationConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
.../trino-pinot/src/test/java/io/trino/plugin/pinot/BasePinotIntegrationConnectorSmokeTest.java
Show resolved
Hide resolved
What's the "column name property" and how is it different from the column name? cc @martint |
@findepi - The column name property is the pinot column name which may contain non lowercase characters. |
ba4b3f3
to
34860cc
Compare
34860cc
to
58a6146
Compare
We don't use "column property" in any other connector. Why did we consider Pinot to be special and require different approach? |
I don't want it to be special in that way:) iirc this was from the first version. Instead should I just keep a mapping? |
If agree that "column property" is the way to go, that's what we should be doing in other connectors, like PostgreSQL, MySQL, SQL Server, etc. |
I think it's better to remove it: since no other connectors use it and there is a way to do this without the column property then it makes more sense to remove it. Refactoring this pr. wdyt? (I'll save this branch just in case). |
58a6146
to
010c910
Compare
plugin/trino-pinot/src/main/java/io/trino/plugin/pinot/PinotColumnHandle.java
Outdated
Show resolved
Hide resolved
.../trino-pinot/src/test/java/io/trino/plugin/pinot/BasePinotIntegrationConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
Cleanup handling of non-aggregate Pinot columns in aggregation pushdown.
010c910
to
3f5606b
Compare
Merged, thanks! |
Description
Add the column name property to Pinot column properties.
Fixes #14071
Non-technical explanation
The pinot column name property was missing so
SHOW CREATE TABLE
queries would fail.Release notes
( ) This is not user-visible and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text: