gatorsmile commented on a change in pull request #25381: [SPARK-28531][SQL]
Improve Extract Python UDFs optimizer rule to enforce idempotence
URL: https://github.com/apache/spark/pull/25381#discussion_r311808324
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkOptimizer.scala
##########
@@ -39,7 +39,8 @@ class SparkOptimizer(
ExtractPythonUDFFromAggregate,
// This must be executed after `ExtractPythonUDFFromAggregate` and
before `ExtractPythonUDFs`.
ExtractGroupingPythonUDFFromAggregate,
- ExtractPythonUDFs,
+ ExtractPythonUDFs) :+
+ Batch("Post Extract Python UDFs Optimization", FixedPoint(1),
Review comment:
Why `FixedPoint(1)` rather than `Once`?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]