Skip to content

Check getBloomFilterOffset() <= 0 for non bloom filter - #5172

Merged
rdblue merged 1 commit into
apache:masterfrom
huaxingao:bloom_offset
Jun 30, 2022
Merged

rdblue merged 1 commit into
apache:masterfrom
huaxingao:bloom_offset

Conversation

@huaxingao

Copy link
Copy Markdown
Contributor

We saw parquet files (don't have bloom filters) with bloomFilterOffset = 0 :(

This is a known bug. It was fixed before the bloom filter was released in parquet-mr 1.12.0, but I guess it's possible people may use the unofficial released parquet-mr (which has the bloom filter support but doesn't have the offset bug fix), so change the check to be getBloomFilterOffset() <= 0 to be safe.

@huaxingao

Copy link
Copy Markdown
Contributor Author

cc @rdblue @RussellSpitzer

@RussellSpitzer

Copy link
Copy Markdown
Member

Thanks @huaxingao for fixing this!

@rdblue
rdblue merged commit dec5679 into apache:master Jun 30, 2022
@rdblue

rdblue commented Jun 30, 2022

Copy link
Copy Markdown
Contributor

Thanks, @huaxingao!

@huaxingao

Copy link
Copy Markdown
Contributor Author

Thanks @rdblue @RussellSpitzer

namrathamyske pushed a commit to namrathamyske/iceberg that referenced this pull request Jul 10, 2022
namrathamyske pushed a commit to namrathamyske/iceberg that referenced this pull request Jul 10, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 18, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 18, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 20, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants