You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "etseidl (via GitHub)" <gi...@apache.org> on 2026/04/08 23:59:22 UTC
[PR] [Parquet]: GH-563: Make `path_in_schema` optional [parquet-java]
etseidl opened a new pull request, #3470:
URL: https://github.com/apache/parquet-java/pull/3470
<!--
Thanks for opening a pull request!
If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing
Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose
and format pull request title as below:
GH-${GITHUB_ISSUE_ID}: ${SUMMARY}
or simply use the title below if it is a minor issue:
MINOR: ${SUMMARY}
-->
### Rationale for this change
Proof of concept for https://github.com/apache/parquet-format/pull/564
### What changes are included in this PR?
Makes changes to `ParquetMetadataConverter` to allow for a missing `path_in_schema` in the Parquet footer. Also adds a writer option controlling whether or not to write the field. The option defaults to `true` to avoid breaking old readers that expect the field to be present.
### Are these changes tested?
Yes, a test has been added, but likely more will be needed.
### Are there any user-facing changes?
Adds a new configuration option.
<!-- Please uncomment the line below and replace ${GITHUB_ISSUE_ID} with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org
Re: [PR] [Parquet]: GH-563: Make `path_in_schema` optional [parquet-java]
Posted by "divjotarora (via GitHub)" <gi...@apache.org>.
divjotarora commented on PR #3470:
URL: https://github.com/apache/parquet-java/pull/3470#issuecomment-5180734994
@etseidl What are the plans for this PR? Can we merge it as-is or is that not allowed as the spec change to make `path_in_schema` optional hasn't been merged? Can we split out the reader change into a separate PR as it's an orthogonal improvement to stop using `path_in_schema` on the read side?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org
Re: [PR] [Parquet]: GH-563: Make `path_in_schema` optional [parquet-java]
Posted by "etseidl (via GitHub)" <gi...@apache.org>.
etseidl commented on PR #3470:
URL: https://github.com/apache/parquet-java/pull/3470#issuecomment-5181260217
> @etseidl What are the plans for this PR? Can we merge it as-is? If not, can we split out the reader change into a separate PR as it's an orthogonal improvement to stop using `path_in_schema` on the read side?
@divjotarora this PR is in limbo until the parquet versioning debate is settled. The issue with making only the read side change is that the thrift generated parser will error out until the IDL can be changed to make `path_in_schema` optional. I don't think there's an appetite here to make local changes to parquet.thrift. If I'm wrong, I'm happy to split out the read and write side changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org