github-actions[bot] commented on code in PR #70876:
URL: https://github.com/apache/doris/pull/70876#discussion_r4663914037
##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -3525,10 +3525,13 @@ public void setDetailShapePlanNodes(String
detailShapePlanNodes) {
@VarAttrDef.VarAttr(name = SPILL_BUFFER_SIZE_BYTES, fuzzy = true,
needForward = true,
description = "Maximum block size for spill writes (in bytes).
Blocks larger than this threshold are "
+ "split before writing to disk. Also controls per-file
read buffer size during merge sort. "
- + "Default is 8MB.")
+ + "Default is 8 MiB. Range is [1 MiB, 256 MiB]; "
+ + "out-of-range values are clamped to the nearest bound.")
public long spillBufferSizeBytes = 8L * 1024L * 1024L;
- @VarAttrDef.VarAttr(name = SPILL_AGGREGATION_PARTITION_COUNT, needForward
= true, fuzzy = true)
Review Comment:
[P2] Normalize the other BE-clamped per-sink spill limits. This helper is
used by SET, GLOBAL, SET_VAR, forwarding, and persistence, but it only clamps
aggregation-sink and sort-merge values. BE also clamps
spill_join_build_sink_mem_limit_bytes, spill_sort_sink_mem_limit_bytes, and
spill_analytic_sink_mem_limit_bytes to [1 MiB, 4 GiB] in RuntimeState. For
example, SET SESSION spill_join_build_sink_mem_limit_bytes=0 leaves
SHOW/JSON/forwarded Thrift state at 0 while the BE uses 1 MiB (and 8 GiB is
shown/forwarded while the BE uses 4 GiB). Add these sibling names to the shared
normalizer and tests, or the FE/BE alignment promised by this change remains
incomplete.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]