arina-ielchiieva commented on a change in pull request #2047: DRILL-7675: Work 
around for partitions sender memory use
URL: https://github.com/apache/drill/pull/2047#discussion_r403903697
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
 ##########
 @@ -189,6 +188,12 @@ private ExecConstants() {
   public static final BooleanValidator HASHAGG_FALLBACK_ENABLED_VALIDATOR = 
new BooleanValidator(HASHAGG_FALLBACK_ENABLED_KEY,
       new OptionDescription("Hash Aggregates ignore memory limits when enabled 
(true). When disabled (false), Hash Aggregates fail when memory is set too 
low."));
 
+  // Partitioner options
+  public static final String PARTITIONER_MEMORY_REDUCTION_THRESHOLD_KEY = 
"exec.partition.mem_throttle";
+  public static final LongValidator 
PARTITIONER_MEMORY_REDUCTION_THRESHOLD_VALIDATOR =
+      new RangeLongValidator(PARTITIONER_MEMORY_REDUCTION_THRESHOLD_KEY, 0, 
Integer.MAX_VALUE,
+      new OptionDescription("Linearly reduces partition sender buffer row 
count after this number of receivers. Default is 0 (disabled)."));
 
 Review comment:
   Please also add Drill version when option was introduced: `(Drill 1.18+)`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to