-
Notifications
You must be signed in to change notification settings - Fork 1.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
Adding presto-pinot-driver module #7384
Adding presto-pinot-driver module #7384
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7384 +/- ##
============================================
- Coverage 71.89% 64.99% -6.90%
+ Complexity 3348 3345 -3
============================================
Files 1517 1471 -46
Lines 75052 73140 -1912
Branches 10936 10731 -205
============================================
- Hits 53956 47536 -6420
- Misses 17475 22226 +4751
+ Partials 3621 3378 -243
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Can you please elaborate more on why we need to replicate some of the classes in this new module? And how is the module going to be released? |
40ae942
to
1132150
Compare
a35b7ed
to
b6bd280
Compare
removed duplicated classes. For releases, need to update the release doc of using the maven toolchain plugin |
Can you explain the purpose of this change? |
presto is on jdk8 and pinot is on jdk 11, so we need to recompile all pinot dependencies jars for presto usage. |
k. but then why there are other changes than the pom changes? |
After chatted with Prestodb community, I think it's better to move presto-pinot-driver (https://github.com/prestodb/presto-pinot-driver) module in pinot codebase, then refer to this module in presto plugin directly. Presto side has extra configs for grpc client and we expose the scatter-gather client. |
67ea73f
to
87f7ecd
Compare
87f7ecd
to
529c819
Compare
529c819
to
ca5e677
Compare
ca5e677
to
edc0dff
Compare
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.
This will change our release pipeline steps when building an Apache release. It would be great if you can also update the documentation at https://cwiki.apache.org/confluence/display/PINOT/Creating+an+Apache+Release
will do |
fyi: @highker |
Description
Move presto-pinot-driver module from presto codebase (https://github.com/prestodb/presto-pinot-driver)
Presto repo is still on java 8, so we need to build this module with jdk8:
jdk.version
for all corresponding modulesHow to build:
So when we want to build
presto-pinot-driver
module, we need to first install two JDKs, e.g. JDK 8 and JDK 11 corresponding modules with JDK 8 lib.Add profile
presto-driver
:Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)
backward-incompat
, and complete the section below on Release Notes)Does this PR fix a zero-downtime upgrade introduced earlier?
backward-incompat
, and complete the section below on Release Notes)Does this PR otherwise need attention when creating release notes? Things to consider:
release-notes
and complete the section on Release Notes)Release Notes
Documentation