-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[native] Add partitioned output buffers sessions #23853
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -299,11 +299,32 @@ SessionProperties::SessionProperties() { | |
| kQueryTraceTaskRegExp, | ||
| "The regexp of traced task id. We only enable trace on a task if its id" | ||
| " matches.", | ||
| BIGINT(), | ||
| VARCHAR(), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. was that an existing bug that we are fixing along with introducing new session properties?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah that was a bug..
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it make sense to add some release note around the bug fix? Or its minor enough that no release note needed? |
||
| false, | ||
| QueryConfig::kQueryTraceTaskRegExp, | ||
| c.queryTraceTaskRegExp()); | ||
|
|
||
| addSessionProperty( | ||
| kMaxOutputBufferSize, | ||
| "The maximum size in bytes for the task's buffered output. The buffer is" | ||
| " shared among all drivers.", | ||
| BIGINT(), | ||
| false, | ||
| QueryConfig::kMaxOutputBufferSize, | ||
| std::to_string(c.maxOutputBufferSize())); | ||
|
|
||
| addSessionProperty( | ||
| kMaxPartitionedOutputBufferSize, | ||
| "The maximum bytes to buffer per PartitionedOutput operator to avoid" | ||
| "creating tiny SerializedPages. For " | ||
| "PartitionedOutputNode::Kind::kPartitioned, PartitionedOutput operator" | ||
| "would buffer up to that number of bytes / number of destinations for " | ||
| "each destination before producing a SerializedPage.", | ||
| BIGINT(), | ||
| false, | ||
| QueryConfig::kMaxPartitionedOutputBufferSize, | ||
| std::to_string(c.maxPartitionedOutputBufferSize())); | ||
|
|
||
| // If `legacy_timestamp` is true, the coordinator expects timestamp | ||
| // conversions without a timezone to be converted to the user's | ||
| // session_timezone. | ||
|
|
||
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.
align on left
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.
The checkstyle does not seem to like it when I tried to align the concatenated strings left..