You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/03/31 07:43:35 UTC
[GitHub] [iceberg] huleilei commented on pull request #4399: There is no 'key_metadata' field in manifest_file, so delete it
huleilei commented on pull request #4399:
URL: https://github.com/apache/iceberg/pull/4399#issuecomment-1084214073
@kbendick Is it necessary to change `MANIFEST_LIST_SCHEMA` to ensure that the length of `MANIFEST_LIST_SCHEMA`
and the "`get ()`" method of metadata is consistent:
```
static final Schema MANIFEST_LIST_SCHEMA = new Schema(
ManifestFile.PATH,
ManifestFile.LENGTH,
ManifestFile.SPEC_ID,
ManifestFile.MANIFEST_CONTENT.asRequired(),
ManifestFile.SEQUENCE_NUMBER.asRequired(),
ManifestFile.MIN_SEQUENCE_NUMBER.asRequired(),
ManifestFile.SNAPSHOT_ID.asRequired(),
ManifestFile.ADDED_FILES_COUNT.asRequired(),
ManifestFile.EXISTING_FILES_COUNT.asRequired(),
ManifestFile.DELETED_FILES_COUNT.asRequired(),
ManifestFile.ADDED_ROWS_COUNT.asRequired(),
ManifestFile.EXISTING_ROWS_COUNT.asRequired(),
ManifestFile.DELETED_ROWS_COUNT.asRequired(),
ManifestFile.PARTITION_SUMMARIES,
ManifestFile.WRITER_ID.asRequired(),
ManifestFile.KEY_METADATA
);
```
The length of `MANIFEST_LIST_SCHEMA` is 14.
--
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@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org