Iceberg connector support ORC bloom filter feature#11732
Iceberg connector support ORC bloom filter feature#11732findepi merged 3 commits intotrinodb:masterfrom
Conversation
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
We're missing tests which exercise the functionality. |
|
At present, the community has not passed the cla protocol submitted by me. After passing, test cases will be added.@raunaqmorarka |
|
@martint please help with CLA and enable CI here |
|
I approved the CI run. @zhengxingmao please rebase and add the tests so that the PR is ready for merge when CLA gets processed. |
2037fdf to
c0e2e9e
Compare
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
Done @findepi @raunaqmorarka |
testing/trino-testing-services/src/main/java/io/trino/testing/TestOrcWithBloomFilters.java
Outdated
Show resolved
Hide resolved
c0e2e9e to
f8dd9c2
Compare
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
testing/trino-testing/src/main/java/io/trino/testing/BaseOrcWithBloomFiltersTest.java
Outdated
Show resolved
Hide resolved
f8dd9c2 to
6dcb5fd
Compare
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
testing/trino-testing/src/main/java/io/trino/testing/BaseOrcWithBloomFiltersTest.java
Outdated
Show resolved
Hide resolved
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
alexjo2144
left a comment
There was a problem hiding this comment.
Can you add some documentation to iceberg.rst?
plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveTableProperties.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergTableProperties.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergUtil.java
Outdated
Show resolved
Hide resolved
a2d9fa0 to
e33a597
Compare
e33a597 to
7ab0706
Compare
0cfb997 to
243da1b
Compare
@Praveen2112 did you have a chance to look into this? |
Praveen2112
left a comment
There was a problem hiding this comment.
LGTM. One QQ to @findepi In case of error code can we stick to code from Iceberg instead of Hive ?
If yes can we update the error code ?
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergFileWriterFactory.java
Outdated
Show resolved
Hide resolved
243da1b to
09dce05
Compare
findepi
left a comment
There was a problem hiding this comment.
pending clarity on #11732 (comment)
09dce05 to
b7bd78e
Compare
b7bd78e to
c056630
Compare
|
@zhengxingmao thanks for removing the sort order. however, we seem to struggle to reach clarity whether/why we wanted the test files to be sorted. |
|
@zhengxingmao thanks for your patience. Seems we reached consensus: #11732 (comment) Can you please add a preparatory commit that removes sorting from hive bloom filter tests? I know this adds more work for you, but this way these changes will make more sense, when viewed later on by someone who didn't participate in the discussion here. |
Please refer to the link for detailed discussion information trinodb#11732 (comment)
c056630 to
911f9ce
Compare
Done.Thank you for reviewing. |
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergFileWriterFactory.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergFileWriterFactory.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergTableProperties.java
Outdated
Show resolved
Hide resolved
911f9ce to
2c0de8c
Compare
2c0de8c to
e91a37d
Compare
Please refer to the link for detailed discussion information #11732 (comment)
| - 100 | ||
| * - ``hive.orc.bloom-filters.enabled`` | ||
| - Enable bloom filters for predicate pushdown. | ||
| - ``false`` |
There was a problem hiding this comment.
This is pre-existing, so wasn't a prerequisite for a merge here. @dain @Praveen2112 @raunaqmorarka do you know why default is false?
There was a problem hiding this comment.
I think there used to be bugs in the past, but not sure why it isn't enabled now. In most cases bloom filter will not exist and it will be a no-op
There was a problem hiding this comment.
@raunaqmorarka do you want to switch it on by default now?
There was a problem hiding this comment.
Yes, AFAIK there shouldn't be a problem in enabling it now
|
@zhengxingmao thanks for your contribution |
@raunaqmorarka @alexjo2144 @Praveen2112 @findepi Thank you for your review. |
Description
Related issues, pull requests, and links
Documentation
( ) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
(x) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
(x) Release notes entries required with the following suggested text:
Iceberg connector support ORC bloom filter feature
# Section Iceberg connector support ORC bloom filter feature