Skip to content
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

Recompute Parquet block metadata when estimating footer from multiple file input #3666

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Sep 24, 2021

Fixes #3516

Computes realistic Parquet block metadata when writing a footer to estimate its final output size. Refactored the existing code that updates the block metadata as it copies blocks to the computed Parquet file so the code can be reused without copying blocks.

… file input

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added this to the Sep 27 - Oct 1 milestone Sep 24, 2021
@jlowe jlowe self-assigned this Sep 24, 2021
@jlowe
Copy link
Member Author

jlowe commented Sep 24, 2021

build

@sameerz sameerz added the bug Something isn't working label Sep 25, 2021
@jlowe jlowe merged commit 4ee8ed1 into NVIDIA:branch-21.10 Sep 27, 2021
@jlowe jlowe deleted the fix-parquet-320 branch September 27, 2021 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] MultiFileParquetPartitionReader can fail while trying to write the footer
3 participants