kazuyukitanimura commented on code in PR #1390:
URL: https://github.com/apache/datafusion-comet/pull/1390#discussion_r1956865360


##########
common/src/main/scala/org/apache/comet/CometConf.scala:
##########
@@ -216,6 +216,17 @@ object CometConf extends ShimCometConf {
   val COMET_EXEC_INITCAP_ENABLED: ConfigEntry[Boolean] =
     createExecEnabledConfig("initCap", defaultValue = false)
 
+  val COMET_EXEC_AGGREGATE_ENFORCE_RESULTS: ConfigEntry[Boolean] =
+    conf("spark.comet.exec.aggregate.enforceResults")
+      .doc("Whether to enforce converting results in the Final stage of a 
HashAggregate, " +
+        "When enabled, Final-mode hashAggregates will not be converted to 
Comet, this can cause " +
+        "issues when native shuffle is enabled. " +
+        "If this is disabled, unsupported result expressions will be " +
+        "separated into a ProjectExec to allow HashAggregate to complete 
natively. " +
+        "This is disabled by default.")

Review Comment:
   I guess `When the result expression of a Final-mode HashAggregate is 
unsupported, the entire HashAggregate will fall back to Spark with this option 
enabled` ?



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to