-
Notifications
You must be signed in to change notification settings - Fork 3k
Parquet: Update parquet to 1.13.1 #7301
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
Changes from 6 commits
1875242
9046980
6b1ffdd
9d32c5b
e3eb272
6e99c43
7f2649d
9f97804
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,6 +135,9 @@ private TableProperties() {} | |
| public static final String DELETE_PARQUET_PAGE_ROW_LIMIT = "write.delete.parquet.page-row-limit"; | ||
| public static final int PARQUET_PAGE_ROW_LIMIT_DEFAULT = 20_000; | ||
|
|
||
| public static final String PARQUET_DICT_ENABLED = "write.parquet.enable.dictionary"; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't match the format of Iceberg options. It should be
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1, the name does match our pattern
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apologies for my oversight here, i intended to have |
||
| public static final boolean PARQUET_DICT_ENABLED_DEFAULT = true; | ||
|
|
||
| public static final String PARQUET_DICT_SIZE_BYTES = "write.parquet.dict-size-bytes"; | ||
| public static final String DELETE_PARQUET_DICT_SIZE_BYTES = | ||
| "write.delete.parquet.dict-size-bytes"; | ||
|
|
||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ | |
| package org.apache.iceberg.parquet; | ||
|
|
||
| import static org.apache.iceberg.TableProperties.PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX; | ||
| import static org.apache.iceberg.TableProperties.PARQUET_DICT_ENABLED; | ||
| import static org.apache.iceberg.avro.AvroSchemaUtil.convert; | ||
| import static org.apache.iceberg.expressions.Expressions.and; | ||
| import static org.apache.iceberg.expressions.Expressions.equal; | ||
|
|
@@ -197,6 +198,7 @@ public void createInputFile() throws IOException { | |
| try (FileAppender<Record> appender = | ||
| Parquet.write(outFile) | ||
| .schema(FILE_SCHEMA) | ||
| .set(PARQUET_DICT_ENABLED, "false") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @singhpk234 @Fokko, I don't think it makes sense to create an option that is public and must be supported by Iceberg moving forward just for this test case. Is it possible to set this with a Hadoop option or to do this some other way? |
||
| .set(PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX + "_id", "true") | ||
| .set(PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX + "_long", "true") | ||
| .set(PARQUET_BLOOM_FILTER_COLUMN_ENABLED_PREFIX + "_double", "true") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.