-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[native] Add support for TPC-H connector #18367
[native] Add support for TPC-H connector #18367
Conversation
8152f21
to
54da2ef
Compare
54da2ef
to
df85b17
Compare
@mbasmanova this is now ready for review. Thanks. |
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.
@majetideepak This is super cool. Thank you, Deepak!!!
Let's mention this enhancement in the release notes. |
@mbasmanova I followed the guidelines here https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines and wrote the release note. Can you take another look? Thanks. |
Perfect. Thank you. |
2c77580
to
83b1361
Compare
83b1361
to
8a51bfd
Compare
@majetideepak Deepak, it seems like this PR may include manual changes to auto-generated presto_protocol.cpp/h files. Would you clarify whether this is the case? If so, we need to figure out how to re-do this change to avoid manually editing auto-generated files. |
@mbasmanova I did manually change these files. I incorrectly thought we have to. |
Thanks. This would be much appreciated. CC: @tanjialiang @spershin @xiaoxmeng |
Thanks @majetideepak . I was playing around with this auto generation yesterday for a bit as well but did not have a solution yet. Let me know if you need some additional help/info from me, that case I can help to continue to look at the issue, and asking internal folks who's most familiar in this area. |
@tanjialiang The README does need improvement. This is what I have so far. |
I have a PR now #18656 |
The protocol bindings for TPC-H Connector were manually added in PR prestodb#18367. These bindings will now be generated automatically. The following improvements have been made: 1. Improve README of presto_cpp/presto_protocol. 2. Add default make target to generate Presto protocol files. 3. Include TpchConnector classes in the yml file. 4. Extend special Connector files to support tpch. 5. Customize TpchTransactionHandle since the corresponding class in Java is an enum. 6. Customize TpchColumnHandle since we require an implementation of operator<().
The protocol bindings for TPC-H Connector were manually added in PR #18367. These bindings will now be generated automatically. The following improvements have been made: 1. Improve README of presto_cpp/presto_protocol. 2. Add default make target to generate Presto protocol files. 3. Include TpchConnector classes in the yml file. 4. Extend special Connector files to support tpch. 5. Customize TpchTransactionHandle since the corresponding class in Java is an enum. 6. Customize TpchColumnHandle since we require an implementation of operator<().
The protocol bindings for TPC-H Connector were manually added in PR prestodb#18367. These bindings will now be generated automatically. The following improvements have been made: 1. Improve README of presto_cpp/presto_protocol. 2. Add default make target to generate Presto protocol files. 3. Include TpchConnector classes in the yml file. 4. Extend special Connector files to support tpch. 5. Customize TpchTransactionHandle since the corresponding class in Java is an enum. 6. Customize TpchColumnHandle since we require an implementation of operator<().
presto-native-execution has been extended to support the TPC-H connector.
Test plan
TPC-H queries are added to TestTpchQueries.java