Zoltan Borok-Nagy has posted comments on this change. ( https://gerrit.cloudera.org/25433 )
Change subject: IMPALA-15715: Read zstandard-compressed Avro files ...................................................................... Patch Set 1: Code-Review+1 (4 comments) LGTM, only had minor comments. https://gerrit.cloudera.org/#/c/25433/1/be/src/util/decompress-test.cc File be/src/util/decompress-test.cc: https://gerrit.cloudera.org/#/c/25433/1/be/src/util/decompress-test.cc@618 PS1, Line 618: // Two concatenated frames without content size (as some streaming writers emit). Each frame goes to a separate ProcessBlock() call, so nothing here is concatenated. Could you either concatenate the two frames into one input (ZSTD_decompressBound() and ZSTD_decompressDCtx() both handle multiple frames) or rename the test and fix the comment? The commit message's "multiple frames" has the same problem. https://gerrit.cloudera.org/#/c/25433/1/be/src/util/decompress.cc File be/src/util/decompress.cc: https://gerrit.cloudera.org/#/c/25433/1/be/src/util/decompress.cc@21 PS1, Line 21: #define ZSTD_STATIC_LINKING_ONLY zstd.h puts its static-only section behind a separate guard (ZSTD_H_ZSTD_STATIC_LINKING_ONLY). So the define also works right before #include <zstd.h>, even if zstd.h was included earlier https://gerrit.cloudera.org/#/c/25433/1/docs/topics/impala_avro.xml File docs/topics/impala_avro.xml: https://gerrit.cloudera.org/#/c/25433/1/docs/topics/impala_avro.xml@405 PS1, Line 405: supports the <codeph>snappy</codeph> and <codeph>deflate</codeph> codecs for Avro tables. The docs still list only snappy/deflate for Avro (impala_avro.xml:405, impala_file_formats.xml:162). Could you add zstandard? https://gerrit.cloudera.org/#/c/25433/1/testdata/data/README File testdata/data/README: https://gerrit.cloudera.org/#/c/25433/1/testdata/data/README@1383 PS1, Line 1383: Trino 481 nit: the fixture metadata has "engine-version": "482", but this says Trino 481 (so does the commit message). -- To view, visit https://gerrit.cloudera.org/25433 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: If4ad7111254f2f71acf017db80bab3c3c80d6060 Gerrit-Change-Number: 25433 Gerrit-PatchSet: 1 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Sat, 14 Nov 2026 12:25:52 +0000 Gerrit-HasComments: Yes
