tanmayrauth commented on PR #2776: URL: https://github.com/apache/iceberg-go/pull/2776#issuecomment-7325565840
Thanks @laskoviymishka, I've addressed everything. A table with no snapshot is now returned unchanged, as in ComputeNDVs, and an unknown ID returns the scanner's snapshot not found: <id> error. If SetStatistics or Commit fails, the .stats file is removed on a best-effort basis; it's kept when the commit outcome is unknown, since the catalog may have accepted it. The errors are all wrapped with write statistics:, and the file is now named <snapshotId>-<uuid>.stats. The test now checks the registered blob metadata field by field against the footer, and there are new tests for an explicit snapshot ID and for cleanup after a failed commit. I also made two changes for Java parity: blobs are now zstd-compressed, and an empty column set returns an error, like Java's "No columns found to compute stats". -- 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]
