xabriel opened a new pull request #371: Fix reading of old .metadata.json.gz 
files
URL: https://github.com/apache/incubator-iceberg/pull/371
 
 
   Reading of iceberg tables with metadata files like `v1.metadata.json.gz` 
broke after #258.
   
   Example stack trace:
   ```
   org.apache.iceberg.exceptions.ValidationException: Metadata file for version 
2 is missing
   
        at 
org.apache.iceberg.hadoop.HadoopTableOperations.refresh(HadoopTableOperations.java:82)
        at 
org.apache.iceberg.hadoop.HadoopTableOperations.current(HadoopTableOperations.java:68)
        at org.apache.iceberg.hadoop.HadoopTables.load(HadoopTables.java:62)
        at 
org.apache.iceberg.hadoop.TestHadoopCommits.testCanReadOldCompressedManifestFiles(TestHadoopCommits.java:331)
   ```
   
   In this PR we add a test case that reproduces the issue, and a fix.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to