-
Notifications
You must be signed in to change notification settings - Fork 450
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
[GLUTEN-7028][CH][Part-11] Support write parquet files with bucket #8052
Conversation
Run Gluten Clickhouse CI on x86 |
0e2853a
to
c692942
Compare
Run Gluten Clickhouse CI on x86 |
c692942
to
b0e482e
Compare
Run Gluten Clickhouse CI on x86 |
b0e482e
to
c093a62
Compare
Run Gluten Clickhouse CI on x86 |
1 similar comment
Run Gluten Clickhouse CI on x86 |
71bbdf3
to
47e5ffa
Compare
Run Gluten Clickhouse CI on x86 |
@@ -52,14 +52,15 @@ DB::ProcessorPtr make_sink( | |||
const DB::Block & input_header, | |||
const DB::Block & output_header, | |||
const std::string & base_path, | |||
const FileNameGenerator & generator, | |||
FileNameGenerator & generator, |
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.
const
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.
resolved
const bool pattern; | ||
const std::string filename_or_pattern; | ||
// Align with org.apache.spark.sql.execution.FileNamePlaceHolder | ||
const std::vector<std::string> placeholders = {"{id}", "{bucket}"}; |
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.
静态变量
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.
resolved
|
||
std::string generate() const | ||
std::string pattern_format(std::string arg, std::string replacement) const |
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.
参数使用常量引用,否则这里会有内存拷贝
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.
thanks, resolved
47e5ffa
to
c7f9ea0
Compare
Run Gluten Clickhouse CI on x86 |
* [GLUTEN-1632][CH]Daily Update Clickhouse Version (20241204) * Fix Build due to ClickHouse/ClickHouse#72715 * Fix Build due to ClickHouse/ClickHouse#65691 * Fix Build due to ClickHouse/ClickHouse#72722 * Fix gtest due to #8052 * Fix benchmark due to ClickHouse/ClickHouse#72460 * Add SPARK_DIR_NAME for fixing unstable ut --------- Co-authored-by: kyligence-git <gluten@kyligence.io> Co-authored-by: Chang Chen <baibaichen@gmail.com>
What changes were proposed in this pull request?
Support write parquet files with bucket
(Fixes: #7028)
How was this patch tested?
unit tests