dongjoon-hyun commented on code in PR #52987:
URL: https://github.com/apache/spark/pull/52987#discussion_r2512617403


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3831,6 +3831,15 @@ object SQLConf {
     .booleanConf
     .createWithDefault(false)
 
+  val PIPE_OPERATOR_ALLOW_AGGREGATE_IN_SELECT =
+    buildConf("spark.sql.pipeOperator.allowAggregateInSelect")
+    .doc("When true, aggregate functions can be used in |> SELECT and other 
pipe operator " +
+      "clauses without requiring the |> AGGREGATE keyword. When false, 
aggregate functions " +
+      "must be used exclusively with the |> AGGREGATE clause for proper 
aggregation semantics.")
+    .version("4.1.0")
+    .booleanConf
+    .createWithDefault(true)

Review Comment:
   Please turn it off by default in Apache Spark 4.1.0. You can enable it later 
for Apache Spark 4.2.0.



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