-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature](hive) support hive write text table #38549
[feature](hive) support hive write text table #38549
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
c7b1696
to
321ec9b
Compare
run buildall |
4 similar comments
run buildall |
run buildall |
run buildall |
run buildall |
TPC-H: Total hot run time: 38864 ms
|
@@ -1111,6 +1113,9 @@ public class SessionVariable implements Serializable, Writable { | |||
"set the number of sort phases 1 or 2. if set other value, let cbo decide the sort type"}) | |||
public int sortPhaseNum = 0; | |||
|
|||
@VariableMgr.VarAttr(name = HIVE_TEXT_COMPRESSION, needForward = true) | |||
private String hiveTextCompression = "uncompressed"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this variable for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is used to determine the compressed file format written to the hive_text table.
f69e658
to
3ecc571
Compare
run buildall |
1 similar comment
run buildall |
TPC-H: Total hot run time: 38232 ms
|
TPC-DS: Total hot run time: 191595 ms
|
ClickBench: Total hot run time: 31.04 s
|
run buildall |
TPC-H: Total hot run time: 38151 ms
|
TPC-DS: Total hot run time: 191796 ms
|
ClickBench: Total hot run time: 31.01 s
|
1. Support write hive text table 2. Add SessionVariable `hive_text_compression` to write compressed hive text table 3. Supported compression type: gzip, bzip2, snappy, lz4, zstd
1. Support write hive text table 2. Add SessionVariable `hive_text_compression` to write compressed hive text table 3. Supported compression type: gzip, bzip2, snappy, lz4, zstd
… (apache#40063)" This reverts commit c6df7c2.
followup #38549 If the large_block_len is 0, should not continue reading the block_len.
1. Support write hive text table 2. Add SessionVariable `hive_text_compression` to write compressed hive text table 3. Supported compression type: gzip, bzip2, snappy, lz4, zstd
followup apache#38549 If the large_block_len is 0, should not continue reading the block_len.
1. Support write hive text table 2. Add SessionVariable `hive_text_compression` to write compressed hive text table 3. Supported compression type: gzip, bzip2, snappy, lz4, zstd
1. Support write hive text table 2. Add SessionVariable `hive_text_compression` to write compressed hive text table 3. Supported compression type: gzip, bzip2, snappy, lz4, zstd
followup apache#38549 If the large_block_len is 0, should not continue reading the block_len.
1. Support write hive text table 2. Add SessionVariable `hive_text_compression` to write compressed hive text table 3. Supported compression type: gzip, bzip2, snappy, lz4, zstd
followup apache#38549 If the large_block_len is 0, should not continue reading the block_len.
Proposed changes
hive_text_compression
to write compressed hive text table