laskoviymishka opened a new pull request, #2636: URL: https://github.com/apache/iceberg-go/pull/2636
This makes iceberg-go the first consumer of the iceberg-verification reference tables. A new test in `table` opens each table from `reference-tables/index.json` with `table.NewFromLocation`, scans every snapshot listed in its `expected/scan.json`, and compares the rows with the expected ones as a multiset. Values are decoded by the Iceberg type of their field ID, following the README of that repo. The test skips unless `ICEBERG_VERIFICATION_DIR` is set, so `go test ./...` is unchanged. CI checks the repo out at a pinned commit on the ubuntu go1.27.1 job and creates the `/tmp/iceberg-verification` symlink the fixtures' absolute paths rely on. New tables are adopted by bumping that pin. No library code changes and no fixture files are copied. All six tables at the pin pass, including the deletion vector and initial-default ones. To check the test can fail, I edited expected values locally (a long, a timestamp, a map value and list element order) and each was reported as a missing and an unexpected row. The decoder covers only the types used at this pin (long, int, double, string, timestamptz, struct, list, map). Anything else fails with "type not handled yet", so the PR that bumps the pin extends it. Part of apache/iceberg-verification#10. AI-assisted, reviewed by a human. -- 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]
