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/04/07 06:27:29 UTC
[GitHub] [iceberg] kyle-cx opened a new issue, #4523: IcebergGenerics.read(table) not work for all kinds of metadata tables
kyle-cx opened a new issue, #4523:
URL: https://github.com/apache/iceberg/issues/4523
> I read this code from https://iceberg.apache.org/docs/latest/api/
<img width="855" alt="image" src="https://user-images.githubusercontent.com/10529123/162132607-aaa37ea7-2ee1-46b1-b6d5-ff539e79a73c.png">
> I tried to read metadata tables by IcebergGenerics, here is my code
```
Table metaTable = MetadataTableUtils.createMetadataTableInstance(table, MetadataTableType.ALL_ENTRIES);
CloseableIterable<Record> result = IcebergGenerics.read(metaTable)
.build();
System.out.println(metaTable.schema());
for (Record r : result){
System.out.println(r);
}
```
> This code does not work for all metadata tables, and I list the metadata types and the error msg
| Metadata Type| Suc/Fail |Error Msg |
| --- | --- | --- |
|ENTRIES | SUCCESS ||
|FILES |FAIL|java.lang.IllegalArgumentException: Missing required field: file_path |
|DATA_FILES |FAIL|java.lang.IllegalArgumentException: Missing required field: file_path |
|DELETE_FILES |SUCCESS ||
|HISTORY |FAIL|java.lang.UnsupportedOperationException: Cannot read METADATA file: file:/var/folders/kh/r635hvrj26798c3sp4rjgssw0000gn/T/junit2264388598284163674/junit5703493110507800616/table/metadata/v3.metadata.json |
|SNAPSHOTS |FAIL|java.lang.UnsupportedOperationException: Cannot read METADATA file: file:/var/folders/kh/r635hvrj26798c3sp4rjgssw0000gn/T/junit2632630966659593117/junit4958628408304881003/table/metadata/v3.metadata.json |
|MANIFESTS |FAIL|java.lang.UnsupportedOperationException: Cannot read METADATA file: file:/var/folders/kh/r635hvrj26798c3sp4rjgssw0000gn/T/junit4701497166066558522/junit8779339111956504116/table/metadata/snap-523361246701539514-1-d4bdca38-62cd-451e-b54a-99214bfe5f6b.avro |
|PARTITIONS |FAIL|java.lang.UnsupportedOperationException: Cannot read METADATA file: file:/var/folders/kh/r635hvrj26798c3sp4rjgssw0000gn/T/junit1338646187434636809/junit6047985098820496081/table/metadata/v3.metadata.json |
|ALL_DATA_FILES |FAIL|java.lang.IllegalArgumentException: Missing required field: file_path |
|ALL_MANIFESTS |FAIL|java.lang.IllegalArgumentException: Missing required field: path |
|ALL_ENTRIES |SUCCESS ||
--
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.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
[GitHub] [iceberg] kyle-cx commented on issue #4523: IcebergGenerics.read(table) not work for most kinds of metadata tables
Posted by GitBox <gi...@apache.org>.
kyle-cx commented on issue #4523:
URL: https://github.com/apache/iceberg/issues/4523#issuecomment-1091318828
Is this a bug or the api is not available for metadata tables
--
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
[GitHub] [iceberg] github-actions[bot] commented on issue #4523: IcebergGenerics.read(table) not work for most kinds of metadata tables
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #4523:
URL: https://github.com/apache/iceberg/issues/4523#issuecomment-1304674346
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
--
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
[GitHub] [iceberg] github-actions[bot] closed issue #4523: IcebergGenerics.read(table) not work for most kinds of metadata tables
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #4523: IcebergGenerics.read(table) not work for most kinds of metadata tables
URL: https://github.com/apache/iceberg/issues/4523
--
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
[GitHub] [iceberg] github-actions[bot] commented on issue #4523: IcebergGenerics.read(table) not work for most kinds of metadata tables
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #4523:
URL: https://github.com/apache/iceberg/issues/4523#issuecomment-1287550291
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
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