You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Surya Hebbar (Code Review)" <ge...@cloudera.org> on 2025/04/01 08:55:36 UTC
[Impala-ASF-CR] IMPALA-13923: [WIP] Support compression levels for GZIP
Surya Hebbar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22718
Change subject: IMPALA-13923: [WIP] Support compression levels for GZIP
......................................................................
IMPALA-13923: [WIP] Support compression levels for GZIP
This patch tries to support compression levels for GZIP, while possibly
refactoring existing tests and implementation of compression levels
in ZSTD, and possibly supporting to resolve, IMPALA-10630 for ZSTD compression
in future changes.
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/service/query-options-test.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
7 files changed, 36 insertions(+), 21 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/1
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 1
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 8: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/11769/
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 8
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 23:27:46 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 9:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/18976/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 9
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 20:47:35 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#5). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB and ZSTD,
and expands the negative range of ZSTD compression levels.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(-1) to Z_BEST_COMPRESSION(9)
These are now supported with the "compression_codec" query option.
This has been implemented by refactoring compression levels as an
optional parameter in CodecInfo. This also solves IMPALA-10630.
Usage of compression level has been refactored with std::optional in
- exec/parquet/hdfs-parquet-table-writer
- runtime/tmp-file-mgr
- service/query-options
To validate compression levels externally, the following method has
been added
- Status Codec::ValidateCompressionLevel
Added tests for
* Additional compression levels for GZIP
- from Z_BEST_SPEED, Z_BEST_COMPRESSION
* Negative compression levels for ZSTD
- Lowered the range to ZSTD_minCLevel()
- Seperated tests for negative compression levels
* Query option - "compression_codec" for the newly added formats
and compression levels
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M be/src/runtime/tmp-file-mgr.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
12 files changed, 161 insertions(+), 78 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/5
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 5
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 10:
(2 comments)
The following tests were executed successfully now, to verify codecs and compression levels.
- DecompressorTest.ZSTD*
- DecompressorTest.Gzip
- DecompressorTest.Bzip
- QueryOptions.CompressionCodec
- TestComputeStats::test_compute_stats_compression_codec
Also, for the stored Parquet, manually verified the compression codec used for
ZSTD and ZLIB.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: };
> One way to do this is to keep Codec::ValidateCompressionLevel() static and
My initial implementation was similar to this. But, I had moved away from this, thinking, adding methods to base compression classes might be more verbose. But now, this seems to be the cleanest way.
Thank you for the detailed comments.
Done.
http://gerrit.cloudera.org:8080/#/c/22718/9/be/src/util/parse-util.cc
File be/src/util/parse-util.cc:
http://gerrit.cloudera.org:8080/#/c/22718/9/be/src/util/parse-util.cc@151
PS9, Line 151: }
Manual compression tests and compute_stats_compression_codec were failing due to returning from ParseCompressionCodec earlier, before setting *type later.
Fixed.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 10
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Mon, 05 May 2025 08:58:43 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 7:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h
File be/src/util/parse-util.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h@74
PS3, Line 74: std::optional<int>* level);
> Pass it as a pointer
I definitely did not know and had forgotten de-referencing was also an option ;)
Thank you, I have corrected it now.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 7
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 17:23:04 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#10). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB, ZSTD
and BZIP2.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(1) to Z_BEST_COMPRESSION(9)
For BZIP2 i.e. ZLIB, GZIP and DEFLATE,
BlockSize100k * (1) to BlockSize100k * (9)
Note:
Currently, BZIP2 is only used by TmpFileMgr. It is not supported
by Parquet(i.e. for writing tables).
These are now supported with the "compression_codec" query option.
This has been implemented by refactoring compression levels as an
optional parameter in CodecInfo.
For ZSTD, negative compression levels are now supported IMPALA-10630.
Usage of compression level has been refactored with std::optional in
- exec/parquet/hdfs-parquet-table-writer
- runtime/tmp-file-mgr
- service/query-options
- util/codec
- util/compress
To validate compression levels externally, the following method has
been added
- Status Codec::ValidateCompressionLevel
Added new tests for -
* Additional compression levels for ZLIB, ZSTD and BZIP2
* Query option - "compression_codec" for the newly added formats
and compression levels
The following tests were executed to verify codecs and compression levels.
- DecompressorTest.ZSTD*
- DecompressorTest.Gzip
- DecompressorTest.Bzip
- QueryOptions.CompressionCodec
- TestComputeStats::test_compute_stats_compression_codec
For the stored Parquet, manually verified the compression codec used for
ZSTD and ZLIB.
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M be/src/runtime/tmp-file-mgr.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
12 files changed, 240 insertions(+), 91 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/10
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 10
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB and ZSTD,
and expands the negative range of ZSTD compression levels.
This is done by refactoring the implementation and tests,
to make compression levels an optional parameter in CodecInfo.
Hence, this also solves IMPALA-10630.
Added support for parsing additional compression levels for ZSTD
and ZLIB in "compression_codec" query option.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(-1) to Z_BEST_COMPRESSION(9)
Added tests for
* Additional compression levels for GZIP
- from Z_BEST_SPEED, Z_BEST_COMPRESSION
* Negative compression levels for ZSTD
- Lowered the range to ZSTD_minCLevel()
- Seperated tests for negative compression levels
* Query option - "compression_codec" for the newly added formats
and compression levels
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/runtime/tmp-file-mgr.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
11 files changed, 132 insertions(+), 54 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/3
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 7:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h
File be/src/util/parse-util.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h@74
PS3, Line 74: std::optional<int>* level);
> I definitely did not know and had forgotten de-referencing was also an opt
Done
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 7
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 17:23:30 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 11: Code-Review+2
Thank you for working on this!
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 11
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 06 May 2025 16:06:32 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/2/be/src/util/decompress-test.cc
File be/src/util/decompress-test.cc:
http://gerrit.cloudera.org:8080/#/c/22718/2/be/src/util/decompress-test.cc@514
PS2, Line 514: est(THdfsCompression::ZSTD, clevel_p);
Removed unnecessary redundant statement, as per clang-tidy.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Thu, 10 Apr 2025 11:55:38 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
(7 comments)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/runtime/tmp-file-mgr.h
File be/src/runtime/tmp-file-mgr.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/runtime/tmp-file-mgr.h@368
PS3, Line 368: /// and ignored otherwise. -1 means not set/invalid.
Please update the comment to reflect support for negative levels.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc
File be/src/service/query-options-test.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc@626
PS3, Line 626: // Test with compression levels for all codecs
Is this really "all codecs"? It doesn't cover snappy, lz4, etc.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc@652
PS3, Line 652: // Test minimum negative comression level
typo: comression -> compression
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc@657
PS3, Line 657: // Unnecessary to test range of such low values, begin from -
This sentence seems incomplete.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options.cc
File be/src/service/query-options.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options.cc@310
PS3, Line 310: std::optional<int> compression_level = std::nullopt;
nit: this is the default value, explicit initialization to nullopt isn't needed.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h
File be/src/util/parse-util.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h@74
PS3, Line 74: std::optional<int>& level);
As a general practice, the Impala code base prefers pointers for values that may be modified by the function.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc
File be/src/util/parse-util.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc@173
PS3, Line 173: return Status(Substitute("Invalid compression level '$0' for codec $1.",
I have a slight preference for providing the error message at each site and customizing it to provide better guidance. Like
1. Compression level is not an integer.
2. Compression level must be in the range $ZSTD_minCLevel to $ZSTD_maxCLevel
3. Compression level must be in the range $Z_DEFAULT_COMPRESSION to $Z_BEST_COMPRESSION.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Apr 2025 20:04:48 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 5:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h
File be/src/util/parse-util.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h@74
PS3, Line 74: std::optional<int>& level);
> As a general practice, the Impala code base prefers pointers for values tha
I wanted to follow this general practice, but for updating an std::optional value, this seems to be the better way.
In this case, to update the std::optional value, using scoped_ptr or other methods, still seem to differ from the general practice, but increase complexity unnecessarily.
Please let me know if I should still implement it in some other general way.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc
File be/src/util/parse-util.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc@173
PS3, Line 173:
> Ack. I will add these error messages instead.
Done
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 5
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 16:17:30 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: [WIP] Support compression levels for GZIP
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: [WIP] Support compression levels for GZIP
......................................................................
Patch Set 1:
(2 comments)
gerrit-auto-critic failed. You can reproduce it locally using command:
python3 bin/jenkins/critique-gerrit-review.py --dryrun
To run it, you might need a virtual env with Python3's venv installed.
http://gerrit.cloudera.org:8080/#/c/22718/1/be/src/util/decompress-test.cc
File be/src/util/decompress-test.cc:
http://gerrit.cloudera.org:8080/#/c/22718/1/be/src/util/decompress-test.cc@75
PS1, Line 75:
line has trailing whitespace
http://gerrit.cloudera.org:8080/#/c/22718/1/be/src/util/decompress-test.cc@505
PS1, Line 505: const int clevel = uniform_int_distribution<int>(ZSTD_minCLevel(), ZSTD_maxCLevel())(rng);
line too long (92 > 90)
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 1
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 01 Apr 2025 08:57:38 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB and ZSTD,
and expands the negative range of ZSTD compression levels.
This is done by refactoring the implementation and tests,
to make compression levels an optional parameter in CodecInfo.
Hence, this also solves IMPALA-10630.
Added support for parsing additional compression levels for ZSTD
and ZLIB in "compression_codec" query option.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(-1) to Z_BEST_COMPRESSION(9)
Added tests for
* Additional compression levels for GZIP
- from Z_BEST_SPEED, Z_BEST_COMPRESSION
* Negative compression levels for ZSTD
- Lowered the range to ZSTD_minCLevel()
- Seperated tests for negative compression levels
* Query option - "compression_codec" for the newly added formats
and compression levels
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/runtime/tmp-file-mgr.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
11 files changed, 133 insertions(+), 54 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/2
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 2
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 6:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11768/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 6
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 16:33:27 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
(2 comments)
> Joe McDonnell
> 12:29 AM
> Patch Set 8:
> Michael Smith
> Apr 22 10:21 PM
> Patch Set 6:
Thanks a lot for the quick suggestions.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: int compression_level = Z_DEFAULT_COMPRESSION);
> We can proceed without this, but I think the code would be cleaner if we di
I have removed the default initialization logic from codec.cc now.
To make it even cleaner, I can make optional<int> compression_level part of Codec and then inherit them in compressor too.
But, this still creates problems with validating compression levels externally from parse-util, we would need to instantiate a Codec/Compressor first to validate levels.
So, I have kept the ValidateCompressionLevel method as it is.
Please do let me know, if there are other ways around even this.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@66
PS3, Line 66: int compression_level_;
> We can leave it on the individual compressors for now. Right now, different
Done
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 20:33:05 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 11: Code-Review+1
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 11
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Mon, 05 May 2025 21:46:30 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: [WIP] Support compression levels for GZIP
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: [WIP] Support compression levels for GZIP
......................................................................
Patch Set 1:
The decompress-tests have successfully passed, please check the JIRA for updated information on tests in later changes.
I was unsure about using boost::optional or std::optional, please let me know if it has some known issues.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 1
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 01 Apr 2025 08:55:45 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 7:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/18974/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 7
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 17:49:13 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 4:
(10 comments)
>
> There is some logic in hdfs-parquet-table-writer.cc that you need
> to look at:
> https://github.com/apache/impala/blob/master/be/src/exec/parquet/hdfs-parquet-table-writer.cc#L1329-L1331
> https://github.com/apache/impala/blob/master/be/src/exec/parquet/hdfs-parquet-table-writer.cc#L1362-L1365
> https://github.com/apache/impala/blob/master/be/src/exec/parquet/hdfs-parquet-table-writer.cc#L1383
>
> I think those locations should be preserving the std::optional so
> that it is not set unless there is an explicit value from the user.
Thank you for the comments, I have corrected it now.
> If we are supporting negative compression levels, that has some
> implications for some of our performance testing infrastructure.
> The compression level gets baked into the database name used for
> loading data. "-" is not valid in a database name, so the negative
> levels need some adjustment. See https://gerrit.cloudera.org/#/c/17265/
> That doesn't necessarily need to be fixed as part of this. It could
> be addressed in a separate JIRA.
I will make sure to address this in a separate patch.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/runtime/tmp-file-mgr.h
File be/src/runtime/tmp-file-mgr.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/runtime/tmp-file-mgr.h@368
PS3, Line 368: /// and ignored otherwise.
> Please update the comment to reflect support for negative levels.
Done
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc
File be/src/service/query-options-test.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc@626
PS3, Line 626: // Test with compression levels for supported codecs i.e. ZLIB and ZSTD
> Is this really "all codecs"? It doesn't cover snappy, lz4, etc.
Done
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc@652
PS3, Line 652: // Test minimum negative compression level
> typo: comression -> compression
Done
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options-test.cc@657
PS3, Line 657: // The values could begin from -11000 or even less
> This sentence seems incomplete.
Done
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options.cc
File be/src/service/query-options.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/service/query-options.cc@310
PS3, Line 310: std::optional<int> compression_level;
> nit: this is the default value, explicit initialization to nullopt isn't ne
Done
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/codec.cc
File be/src/util/codec.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/codec.cc@84
PS3, Line 84: Status Codec::CreateCompressor(MemPool* mem_pool, bool reuse, const CodecInfo& codec_info,
: scoped_ptr<Codec>* compressor) {
: THdfsCompression::type format = codec_info.format_;
: switch (format) {
: case THdfsCompression::NONE:
: compressor->reset(nullptr);
: return Status::OK();
: case THdfsCompression::GZIP:
: compressor->reset(new GzipCompressor(GzipCompressor::GZIP, mem_pool, reuse,
: codec_info.compression_level_.value_or(Z_DEFAULT_COMPRESSION)));
:
> I believe this function is unused.
Done.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: int compression_level = Z_DEFAULT_COMPRESSION);
> I think it would make sense to carry through the std::optional usage throug
As the implementations still need a default value, this seems to be the cleanest way. Please let me know, if something else is preferred. I think, CodecInfo being optional is sufficient.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@66
PS3, Line 66: int compression_level_;
> Now that we have more than one compressor that uses levels, it would make s
If we approach this, CodecInfo will only have a single attribute "format", also the compression levels are not a part of many codecs like snappy.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc
File be/src/util/parse-util.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc@135
PS3, Line 135: string& clevel = tokens[1];
: trim(clevel);
: int compression_level = StringParser::StringToInt<int>(
: clevel.c_str(), static_cast<int>(clevel.size()), &status);
:
: bool invalid_compression_level = false;
: if (status == StringParser::PARSE_SUCCESS) {
: return Codec::ValidateCompressionLevel(enum_type, compression_level);
: } else {
: return Status(Substitute("Invalid compression level value - $0", clevel));
: }
: }
: *type = enum_type;
: return Status::OK();
: }
:
: // Return all enum values in a string format, e.g. FOO(1), BAR(2), BAZ(3).
: string GetThriftEnumValues(const map<int, const char*>& enum_values_to_names) {
: bool first = true;
: stringstream ss;
: for (const auto& e : enum_values_to_names) {
: if (!first) {
: ss << ", ";
: } else {
: first = false;
: }
: ss << e.second << "(" << e.first << ")";
: }
: return ss.str();
: }
: }
:
:
:
:
:
> I think it would be cleaner for a lot of the compression-codec specific log
Done. I have moved the validation into Codec class.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc@173
PS3, Line 173:
> I have a slight preference for providing the error message at each site and
Ack. I will add these error messages instead.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 4
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 11:57:21 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 8:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11769/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 8
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 17:24:36 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: [WIP] Support compression levels for GZIP
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: [WIP] Support compression levels for GZIP
......................................................................
Patch Set 1:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/18789/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 1
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 01 Apr 2025 09:20:05 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 10:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/19103/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 10
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Mon, 05 May 2025 09:26:10 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: int compression_level = Z_DEFAULT_COMPRESSION);
> Thank you for the helpful comments!!
One way to do this is to keep Codec::ValidateCompressionLevel() static and add static functions to GzipCompressor and ZstandardCompressor for validating their compression levels:
static Status ValidateCompressionLevel(int compression_level);
The Codec::ValidateCompressionLevel() would dispatch to the validation function for each compressor:
Status Codec::ValidateCompressionLevel(THdfsCompression::type format,
int compression_level) {
switch (format) {
case THdfsCompression::GZIP:
case THdfsCompression::ZLIB:
case THdfsCompression::DEFLATE:
return GzipCompressor::ValidateCompressionLevel(compression_level);
case THdfsCompression::ZSTD:
return ZstandardCompressor::ValidateCompressionLevel(compression_level);
default:
return Status("Compression levels are not supported for this codec.");
}
}
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Fri, 25 Apr 2025 23:51:59 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 6: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/11768/
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 6
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 17:10:25 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#7). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB and ZSTD,
and expands the negative range of ZSTD compression levels.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(-1) to Z_BEST_COMPRESSION(9)
These are now supported with the "compression_codec" query option.
This has been implemented by refactoring compression levels as an
optional parameter in CodecInfo. This also solves IMPALA-10630.
Usage of compression level has been refactored with std::optional in
- exec/parquet/hdfs-parquet-table-writer
- runtime/tmp-file-mgr
- service/query-options
To validate compression levels externally, the following method has
been added
- Status Codec::ValidateCompressionLevel
Added tests for
* Additional compression levels for GZIP
- from Z_BEST_SPEED, Z_BEST_COMPRESSION
* Negative compression levels for ZSTD
- Lowered the range to ZSTD_minCLevel()
- Seperated tests for negative compression levels
* Query option - "compression_codec" for the newly added formats
and compression levels
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
11 files changed, 163 insertions(+), 76 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/7
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 7
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 2:
Hello, there was a necessity to add compression levels for ZLIB, for IMPALA-13795. Please see https://gerrit.cloudera.org/c/22599/#message-cff8ef22_c63a972d for more details.
I have refactored and added the necessary testing for compression as well as the query options and they have passed successfully.
As this adds more compression levels, and the query option was part of tuple caching, I wanted to ensure this is correct.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 2
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Thu, 10 Apr 2025 11:19:36 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 2:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/18873/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 2
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Thu, 10 Apr 2025 11:44:47 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 11: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 11
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Mon, 05 May 2025 16:49:52 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
(4 comments)
There is some logic in hdfs-parquet-table-writer.cc that you need to look at:
https://github.com/apache/impala/blob/master/be/src/exec/parquet/hdfs-parquet-table-writer.cc#L1329-L1331
https://github.com/apache/impala/blob/master/be/src/exec/parquet/hdfs-parquet-table-writer.cc#L1362-L1365
https://github.com/apache/impala/blob/master/be/src/exec/parquet/hdfs-parquet-table-writer.cc#L1383
I think those locations should be preserving the std::optional so that it is not set unless there is an explicit value from the user.
If we are supporting negative compression levels, that has some implications for some of our performance testing infrastructure. The compression level gets baked into the database name used for loading data. "-" is not valid in a database name, so the negative levels need some adjustment. See https://gerrit.cloudera.org/#/c/17265/
That doesn't necessarily need to be fixed as part of this. It could be addressed in a separate JIRA.
For zlib, we should consider not supporting 0/-1 as valid level values. 0 is uncompressed. If someone wants to use the default level (-1), they can just skip specifying the level.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/codec.cc
File be/src/util/codec.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/codec.cc@84
PS3, Line 84: Status Codec::CreateCompressor(MemPool* mem_pool, bool reuse, const string& codec,
: scoped_ptr<Codec>* compressor) {
: CodecMap::const_iterator type = CODEC_MAP.find(codec);
: if (type == CODEC_MAP.end()) {
: return Status(Substitute("$0$1", UNKNOWN_CODEC_ERROR, codec));
: }
:
: CodecInfo codec_info(type->second);
: RETURN_IF_ERROR(CreateCompressor(mem_pool, reuse, codec_info, compressor));
: return Status::OK();
: }
I believe this function is unused.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: int compression_level = Z_DEFAULT_COMPRESSION);
I think it would make sense to carry through the std::optional usage through here. Same for ZstandardCompressor.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@66
PS3, Line 66: int compression_level_;
Now that we have more than one compressor that uses levels, it would make sense to have a std::optional<int> on Codec that is inherited by compressors. Both GzipCompressor and ZstandardCompressor can use it.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc
File be/src/util/parse-util.cc:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.cc@135
PS3, Line 135: switch(enum_type) {
: case THdfsCompression::ZSTD:
: case THdfsCompression::GZIP:
: case THdfsCompression::ZLIB:
: case THdfsCompression::DEFLATE:
: break;
: default:
: return Status("Compression level only supported for ZSTD or"
: " ZLIB(GZIP, DEFLATE)");
: }
:
: StringParser::ParseResult status;
: string& clevel = tokens[1];
: trim(clevel);
: int compression_level = StringParser::StringToInt<int>(
: clevel.c_str(), static_cast<int>(clevel.size()), &status);
:
: bool invalid_compression_level = false;
: if (status != StringParser::PARSE_SUCCESS) {
: invalid_compression_level = true;
: } else {
: switch(enum_type) {
: case THdfsCompression::ZSTD:
: invalid_compression_level = compression_level < ZSTD_minCLevel()
: || compression_level > ZSTD_maxCLevel();
: break;
: case THdfsCompression::GZIP:
: case THdfsCompression::ZLIB:
: case THdfsCompression::DEFLATE:
: invalid_compression_level = compression_level < Z_DEFAULT_COMPRESSION
: || compression_level > Z_BEST_COMPRESSION;
: break;
: default:
: invalid_compression_level = true;
: }
: }
I think it would be cleaner for a lot of the compression-codec specific logic to be in codec.h/.cc and/or compress.h/.cc.
For example, this parsing code could verify that the level parses as an integer (and return status if it does not), but then call into a function on Codec to verify the compression level. e.g.
RETURN_IF_ERROR(Codec::ValidateCompressionLevel(enum_type, compression_level));
That would keep this file from needing to know about zstd levels and zlib levels (and potentially other compression codec in future).
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Apr 2025 21:38:29 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 6:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h
File be/src/util/parse-util.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/parse-util.h@74
PS3, Line 74: std::optional<int>& level);
> I wanted to follow this general practice, but for updating an std::optional
Pass it as a pointer
std::optional<int>* level);
then update it in the function with
*level = compression_level;
or
level->emplace(compression_level);
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 6
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 16:51:25 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: int compression_level = Z_DEFAULT_COMPRESSION);
> I think of codec.h/codec.cc as generic connector code. It handles instantia
We can proceed without this, but I think the code would be cleaner if we did it.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 19:23:46 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 4:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/18968/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 4
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 12:21:16 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 5:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/18972/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 5
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 16:28:05 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#4). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB and ZSTD,
and expands the negative range of ZSTD compression levels.
This is done by refactoring the implementation and tests,
to make compression levels an optional parameter in CodecInfo.
Hence, this also solves IMPALA-10630.
Added support for parsing additional compression levels for ZSTD
and ZLIB in "compression_codec" query option.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(-1) to Z_BEST_COMPRESSION(9)
Added tests for
* Additional compression levels for GZIP
- from Z_BEST_SPEED, Z_BEST_COMPRESSION
* Negative compression levels for ZSTD
- Lowered the range to ZSTD_minCLevel()
- Seperated tests for negative compression levels
* Query option - "compression_codec" for the newly added formats
and compression levels
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M be/src/runtime/tmp-file-mgr.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
12 files changed, 153 insertions(+), 78 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/4
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 4
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 8:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: int compression_level = Z_DEFAULT_COMPRESSION);
> As the implementations still need a default value, this seems to be the cle
I think of codec.h/codec.cc as generic connector code. It handles instantiating the compressor/decompressor, but it doesn't have to know much about how those work internally.
The way that we're doing it now, we have to convert the std::optional to an int in codec.cc like this:
codec_info.compression_level_.value_or(Z_DEFAULT_COMPRESSION)
I think that makes more sense in the GzipCompressor's constructor (and same thing for ZstandardCompressor). It would eliminate the need for codec.cc to know the default value.
If we push the level validation into the compressor as well, codec.cc would not need to know anything specific about the compression libraries. The details are encapsulated in the compressor class.
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@66
PS3, Line 66: int compression_level_;
> If we approach this, CodecInfo will only have a single attribute "format",
We can leave it on the individual compressors for now. Right now, different compressors are using different field names for the compression level. GzipCompressor is using compression_level_ here. ZstandardCompressor is using clevel_. It would be nice to standardize the name of this field.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 8
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 18:59:57 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has uploaded a new patch set (#9). ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB and ZSTD,
and expands the negative range of ZSTD compression levels.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(-1) to Z_BEST_COMPRESSION(9)
These are now supported with the "compression_codec" query option.
This has been implemented by refactoring compression levels as an
optional parameter in CodecInfo. This also solves IMPALA-10630.
Usage of compression level has been refactored with std::optional in
- exec/parquet/hdfs-parquet-table-writer
- runtime/tmp-file-mgr
- service/query-options
To validate compression levels externally, the following method has
been added
- Status Codec::ValidateCompressionLevel
Added tests for
* Additional compression levels for GZIP
- from Z_BEST_SPEED, Z_BEST_COMPRESSION
* Negative compression levels for ZSTD
- Lowered the range to ZSTD_minCLevel()
- Seperated tests for negative compression levels
* Query option - "compression_codec" for the newly added formats
and compression levels
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
11 files changed, 171 insertions(+), 79 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/22718/9
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 9
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Surya Hebbar (Code Review)" <ge...@cloudera.org>.
Surya Hebbar has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 9:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h
File be/src/util/compress.h:
http://gerrit.cloudera.org:8080/#/c/22718/3/be/src/util/compress.h@48
PS3, Line 48: std::optional<int> compression_level);
> I have removed the default initialization logic from codec.cc now.
Thank you for the helpful comments!!
Done.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 9
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Tue, 22 Apr 2025 20:35:11 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 11:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11835/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 11
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Mon, 05 May 2025 10:31:51 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
IMPALA-13923: Support more compression levels for ZSTD and ZLIB
This patch adds support for more compression levels for ZLIB, ZSTD
and BZIP2.
The following additional compression levels are now supported.
For ZSTD,
ZSTD_minCLevel(-ZSTD_TARGETLENGTH_MAX) to ZSTD_maxCLevel(20)
For ZLIB i.e. ZLIB, GZIP and DEFLATE,
Z_DEFAULT_COMPRESSION(1) to Z_BEST_COMPRESSION(9)
For BZIP2 i.e. ZLIB, GZIP and DEFLATE,
BlockSize100k * (1) to BlockSize100k * (9)
Note:
Currently, BZIP2 is only used by TmpFileMgr. It is not supported
by Parquet(i.e. for writing tables).
These are now supported with the "compression_codec" query option.
This has been implemented by refactoring compression levels as an
optional parameter in CodecInfo.
For ZSTD, negative compression levels are now supported IMPALA-10630.
Usage of compression level has been refactored with std::optional in
- exec/parquet/hdfs-parquet-table-writer
- runtime/tmp-file-mgr
- service/query-options
- util/codec
- util/compress
To validate compression levels externally, the following method has
been added
- Status Codec::ValidateCompressionLevel
Added new tests for -
* Additional compression levels for ZLIB, ZSTD and BZIP2
* Query option - "compression_codec" for the newly added formats
and compression levels
The following tests were executed to verify codecs and compression levels.
- DecompressorTest.ZSTD*
- DecompressorTest.Gzip
- DecompressorTest.Bzip
- QueryOptions.CompressionCodec
- TestComputeStats::test_compute_stats_compression_codec
For the stored Parquet, manually verified the compression codec used for
ZSTD and ZLIB.
Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Reviewed-on: http://gerrit.cloudera.org:8080/22718
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Michael Smith <mi...@cloudera.com>
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M be/src/runtime/tmp-file-mgr.cc
M be/src/runtime/tmp-file-mgr.h
M be/src/service/query-options-test.cc
M be/src/service/query-options.cc
M be/src/util/codec.cc
M be/src/util/codec.h
M be/src/util/compress.cc
M be/src/util/compress.h
M be/src/util/decompress-test.cc
M be/src/util/parse-util.cc
M be/src/util/parse-util.h
12 files changed, 240 insertions(+), 91 deletions(-)
Approvals:
Impala Public Jenkins: Verified
Michael Smith: Looks good to me, but someone else must approve
Joe McDonnell: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 12
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
[Impala-ASF-CR] IMPALA-13923: Support more compression levels for ZSTD and ZLIB
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22718 )
Change subject: IMPALA-13923: Support more compression levels for ZSTD and ZLIB
......................................................................
Patch Set 3:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/18875/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/22718
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b98c735246f08e04598a4e752c8cca04e31a88a
Gerrit-Change-Number: 22718
Gerrit-PatchSet: 3
Gerrit-Owner: Surya Hebbar <sh...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Surya Hebbar <sh...@cloudera.com>
Gerrit-Comment-Date: Thu, 10 Apr 2025 12:13:13 +0000
Gerrit-HasComments: No