[Fix](export/outfile) Support compression when exporting data to Parquet / ORC.#36490
[Fix](export/outfile) Support compression when exporting data to Parquet / ORC.#36490morningman merged 12 commits intoapache:masterfrom
Conversation
|
run buildall |
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
|
||
| #pragma once | ||
|
|
||
| #include <gen_cpp/PlanNodes_types.h> |
There was a problem hiding this comment.
warning: 'gen_cpp/PlanNodes_types.h' file not found [clang-diagnostic-error]
#include <gen_cpp/PlanNodes_types.h>
^| #pragma once | ||
|
|
||
| #include <gen_cpp/PlanNodes_types.h> | ||
| #include <stdint.h> |
There was a problem hiding this comment.
warning: inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [modernize-deprecated-headers]
| #include <stdint.h> | |
| #include <cstdint> |
|
TeamCity be ut coverage result: |
|
run feut |
|
run buildall |
TPC-H: Total hot run time: 41413 ms |
TPC-DS: Total hot run time: 172791 ms |
ClickBench: Total hot run time: 30.35 s |
|
TeamCity be ut coverage result: |
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 40995 ms |
TPC-DS: Total hot run time: 173363 ms |
ClickBench: Total hot run time: 30.48 s |
fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java
Outdated
Show resolved
Hide resolved
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 39929 ms |
TPC-DS: Total hot run time: 173111 ms |
ClickBench: Total hot run time: 30.78 s |
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 39935 ms |
TPC-DS: Total hot run time: 174286 ms |
ClickBench: Total hot run time: 30.98 s |
|
run p0 |
|
run buildall |
TPC-H: Total hot run time: 39813 ms |
TPC-DS: Total hot run time: 173611 ms |
ClickBench: Total hot run time: 29.88 s |
|
TeamCity be ut coverage result: |
|
run buildall |
TPC-H: Total hot run time: 40777 ms |
TPC-DS: Total hot run time: 173432 ms |
ClickBench: Total hot run time: 31.09 s |
|
PR approved by at least one committer and no changes requested. |
…uet / ORC. (#36490) When using Export/Outfile, we can use properties `compress_type` to specify the compression method. Currently, Parquet file format supports `SNAPPY`, `GZIP`, `BROTLI`, `ZSTD`, `LZ4`, `LZO`, `BZ2` and `PLAIN` compression methods, default value is `SNAPPY`. Orc file format supports `PLAIN`, `SNAPPY`, `ZLIB`, and `ZSTD` compression methods, default value is `ZLIB`. Docs: apache/doris-website#764
apache/doris#36490 --------- Co-authored-by: Luzhijing <82810928+luzhijing@users.noreply.github.com>
…uet / ORC. (apache#36490) When using Export/Outfile, we can use properties `compress_type` to specify the compression method. Currently, Parquet file format supports `SNAPPY`, `GZIP`, `BROTLI`, `ZSTD`, `LZ4`, `LZO`, `BZ2` and `PLAIN` compression methods, default value is `SNAPPY`. Orc file format supports `PLAIN`, `SNAPPY`, `ZLIB`, and `ZSTD` compression methods, default value is `ZLIB`. Docs: apache/doris-website#764
Proposed changes
Issue Number: close #xxx
When using Export/Outfile, we can use properties
compress_typeto specify the compression method.Currently, Parquet file format supports
SNAPPY,GZIP,BROTLI,ZSTD,LZ4,LZO,BZ2andPLAINcompression methods, default value isSNAPPY.Orc file format supports
PLAIN,SNAPPY,ZLIB, andZSTDcompression methods, default value isZLIB.Docs: apache/doris-website#764