Skip to content

PARQUET-151: Skip writing _metadata file in case of no footers since schema cannot be determined.#205

Closed
saucam wants to merge 1 commit intoapache:masterfrom
saucam:footer_bug
Closed

PARQUET-151: Skip writing _metadata file in case of no footers since schema cannot be determined.#205
saucam wants to merge 1 commit intoapache:masterfrom
saucam:footer_bug

Conversation

@saucam
Copy link

@saucam saucam commented Jun 1, 2015

This fixes npe seen during mergeFooters in such a case.
For this scenario onus of writing any summary files lies with the caller (It might have some global schema available) So for example spark does it when persisting empty RDD.

…schema cannot be determined. This fixes npe seen during mergeFooters in such a case.

             For this scenario onus of writing any summary files lies with the caller (It might have some global schema available)
@rdblue
Copy link
Contributor

rdblue commented Jun 1, 2015

Looks good to me. Thanks @saucam!

@asfgit asfgit closed this in 4b5cda5 Jun 1, 2015
@saucam
Copy link
Author

saucam commented Jun 2, 2015

Thanks for the review and the merge @rdblue !

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.

2 participants