-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[sql] Upgrade PrestoSQL to the first Trino version #16683
Conversation
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Otherwise trino-testing will throw Exception before running test cases. Signed-off-by: tison <wander4096@gmail.com>
See also: * trinodb/trino@21e3ddf * trinodb/trino@19811d3 Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Get America/Nuuk alike timezone. This version is required by trino. See also https://twitter.com/raphaelschaad/status/1488584437197586432. Signed-off-by: tison <wander4096@gmail.com>
db164cc
to
848e66f
Compare
Signed-off-by: tison <wander4096@gmail.com>
See also: * trinodb/trino@aaaa30d * trinodb/trino@8943325 Signed-off-by: tison <wander4096@gmail.com>
This patch should be technically completed. cc @merlimat @lhotari @MarvinCai if you have spare time, please read the description above and see what direction is good to go. Or if we should go back to the mailing list to continue the discussion. |
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
If we can upgrade prestosql to trino, we may have an opportunity to move |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Great work!
Signed-off-by: tison <wander4096@gmail.com>
Thank @merlimat for review! I push a new commit to fix license issues. Our CI doesn't check binary licenses of Pulsar SQL, though. It can be a separated issue to resolve and here is #16783. cc @MarvinCai @lhotari @codelipenghui perhaps you can also give a review on this patch and decide how to move forward? |
This comment was marked as outdated.
This comment was marked as outdated.
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
I think all required tasks have passed. |
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
Motivation
See also previous discussion at https://lists.apache.org/thread/mflm0pb5235jjk80vol0vs7v0hvowkq8.
Instead of firstly create a pulsar-sql repository and highly possibly leave it uncompleted, the original pain points of maintaining Pulsar SQL (a.k.a. Pulsar Presto Connector) are:
Thus, I'd suggest we continuously kaizen the situation by upgrading version and decouple modules. When moving out the codebase to another repository a trivial step, we consider to do it.
This patch is a small step to upgrade PrestoSQL to the first Trino version which supports Apple M1, and it contains most of the renaming work.
After this change, if users running sql worker with pulsar provided scripts, the experience should be as usual. But people directly depend on pulsar-presto-connector will find the dependency is switched to Trino. I'm unsure whether or not I should write a PIP of this kaizen way.
I'll treat this change at the earliest in 2.12 release train and don't rush things.
Modifications
pom.xml
fromio.prestosql
toio.trino
.prestosql
in code totrino
.Fortunately, the breaking changes mentioned in #16494 aren't included in this version bump.Verifying this change
This change is already covered by existing tests. We should keep all existing test passed.
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
It should be required. But leave it as is to verify CI first.