fallintoplace opened a new pull request, #1292:
URL: https://github.com/apache/iceberg-go/pull/1292

   Summary
   
   Make the Hadoop catalog load the actual metadata file it discovers instead 
of reconstructing `vN.metadata.json` after finding a version. This keeps gzip 
metadata and UUID-style metadata names consistent across `LoadTable`, 
`CheckTableExists`, and `ListTables`.
   
   This also stops a lone `version-hint.text` from making a directory look like 
a table when there is no loadable metadata file.
   
   Testing
   
   - `go test ./catalog/hadoop -run 
'TestHadoopCatalogTestSuite/(TestLoadTableGzipMetadata|TestLoadTableUUIDMetadata|TestVersionHintWithoutMetadataIsNotLoadableTable|TestIsTableDirFalseVersionHintOnly|TestFindVersionGzipOnlyWithHint|TestFindVersionMixedGzipAndPlain)'
 -count=1`
   - `go test ./catalog/hadoop -count=1`
   - `go test ./catalog/... -count=1`
   - `go run github.com/golangci/golangci-lint/v2/cmd/[email protected] run 
--timeout=10m ./catalog/hadoop/...`
   - `git diff --check`
   
   Note: I started `go test ./... -count=1`; it had passed through catalog 
packages and was interrupted before completion.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to