rohangarg commented on code in PR #13368:
URL: https://github.com/apache/druid/pull/13368#discussion_r1081125913


##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/util/MultiStageQueryContext.java:
##########
@@ -88,14 +94,30 @@ public static String getMSQMode(final QueryContext 
queryContext)
     );
   }
 
-  public static boolean isDurableStorageEnabled(final QueryContext 
queryContext)
+  public static boolean isDurableShuffleStorageEnabled(final QueryContext 
queryContext)
   {
     return queryContext.getBoolean(
         CTX_ENABLE_DURABLE_SHUFFLE_STORAGE,
         DEFAULT_ENABLE_DURABLE_SHUFFLE_STORAGE
     );
   }
 
+  public static boolean isComposedIntermediateSuperSorterStorageEnabled(final 
QueryContext queryContext)
+  {
+    return queryContext.getBoolean(
+        CTX_COMPOSED_INTERMEDIATE_SUPER_SORTER_STORAGE,
+        DEFAULT_COMPOSED_INTERMEDIATE_SUPER_SORTER_STORAGE
+    );
+  }
+
+  public static long getIntermediateSuperSorterStorageMaxLocalBytes(final 
QueryContext queryContext)

Review Comment:
   The default values for `getIntermediateSuperSorterStorageMaxLocalBytes` is 
Long.MAX_VALUE so effectively it will only use local disk as before.



-- 
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]

Reply via email to