Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22104#discussion_r239738437
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkOptimizer.scala ---
    @@ -31,7 +31,8 @@ class SparkOptimizer(
     
       override def defaultBatches: Seq[Batch] = (preOptimizationBatches ++ 
super.defaultBatches :+
         Batch("Optimize Metadata Only Query", Once, 
OptimizeMetadataOnlyQuery(catalog)) :+
    -    Batch("Extract Python UDF from Aggregate", Once, 
ExtractPythonUDFFromAggregate) :+
    +    Batch("Extract Python UDFs", Once,
    +      Seq(ExtractPythonUDFFromAggregate, ExtractPythonUDFs): _*) :+
    --- End diff --
    
    but we already have `ExtractPythonUDFFromAggregate` here...


---

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

Reply via email to