Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21753#discussion_r201870662
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
 ---
    @@ -586,12 +581,16 @@ class Analyzer(
             }
         }
     
    -    private def isAggregateExpression(expr: Expression): Boolean = {
    -      expr match {
    -        case Alias(e, _) => isAggregateExpression(e)
    -        case AggregateExpression(_, _, _, _) => true
    -        case _ => false
    -      }
    +    // TODO: Support Pandas UDF.
    --- End diff --
    
    Please add a comment about the check and explain what is allowed?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to