File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pinot-core/src/main/java/org/apache/pinot/core/operator/combine Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5858@ SuppressWarnings ("rawtypes" )
5959public class GroupByOrderByCombineOperator extends BaseCombineOperator {
6060 public static final int MAX_TRIM_THRESHOLD = 1_000_000_000 ;
61- public static final int MAX_GROUP_BY_KEYS_PER_MERGE_CALL = 10_000 ;
61+ public static final int MAX_GROUP_BY_KEYS_MERGED_PER_INTERRUPTION_CHECK = 10_000 ;
6262
6363 private static final Logger LOGGER = LoggerFactory .getLogger (GroupByOrderByCombineOperator .class );
6464
@@ -208,7 +208,7 @@ protected void processSegments(int taskIndex) {
208208
209209 // Check for thread interruption, every time after merging 10_000 keys
210210 private void checkMergePhaseInterruption (int mergedKeys ) {
211- if (mergedKeys % MAX_GROUP_BY_KEYS_PER_MERGE_CALL == 0 && Thread .interrupted ()) {
211+ if (mergedKeys % MAX_GROUP_BY_KEYS_MERGED_PER_INTERRUPTION_CHECK == 0 && Thread .interrupted ()) {
212212 throw new EarlyTerminationException ();
213213 }
214214 }
You can’t perform that action at this time.
0 commit comments