-
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
Implement Hive parquet bloomfilter prune test #15633
Implement Hive parquet bloomfilter prune test #15633
Conversation
b5d7d55
to
d85f10d
Compare
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
|
||
JobConf jobConf = new JobConf(newEmptyConfiguration()); | ||
jobConf.setEnum(WRITER_VERSION, PARQUET_1_0); | ||
jobConf.setBoolean(BLOOM_FILTER_ENABLED, true); |
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.
nit: Let's enable the bloom filter only for columnName
and not for all columns
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
jobConf.setEnum(WRITER_VERSION, PARQUET_1_0); | ||
jobConf.setBoolean(BLOOM_FILTER_ENABLED, true); | ||
|
||
ParquetTester.writeParquetColumn( |
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.
static import
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
...n/trino-hive/src/test/java/io/trino/plugin/hive/parquet/TestHiveParquetWithBloomFilters.java
Outdated
Show resolved
Hide resolved
This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua |
@leetcode-1533, are you still working on this PR? If not we can close it for now and reopen it later. Let me know! Thanks! |
d85f10d
to
b5437f0
Compare
b5437f0
to
64d7097
Compare
Description
Implement Hive parquet bloomfilter prune test.
Additional context and related issues
This unit test can help to verify whether enabling hive parquet's parquet.use-bloom-filter option will help Trino to load fewer blocks(row-groups)
More details: #14428 (comment)
Release notes
(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text: