Skip to content

GH-2693: Show Bloom filter metadata in the CLI - #3995

Open
wozhenbang2004 wants to merge 2 commits into
apache:masterfrom
wozhenbang2004:gh-2693-bloom-filter-metadata
Open

wozhenbang2004 wants to merge 2 commits into
apache:masterfrom
wozhenbang2004:gh-2693-bloom-filter-metadata

Conversation

@wozhenbang2004

Copy link
Copy Markdown

Rationale for this change

The bloom-filter command currently requires a column and values, so it cannot show the metadata requested in #2693.

What changes are included in this PR?

Omitting --values prints each column's hash strategy, algorithm, compression and bitset size in bytes, or NONE when no Bloom filter is present. --column limits the output to one column. Existing value checks are unchanged.

Are these changes tested?

The CLI tests cover multiple row groups, nested columns, absent filters, argument validation and existing value checks. The existing encrypted-file tests also pass. The JDK 17 upstream CI commands pass on this branch, including verify, Javadoc and JAR license checks.

Are there any user-facing changes?

parquet bloom-filter sample.parquet
parquet bloom-filter -c user.name sample.parquet

Closes #2693.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Column bloom filter: Show bloom filters in tools

1 participant