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

    https://github.com/apache/spark/pull/19872#discussion_r161856598
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala ---
    @@ -288,9 +289,13 @@ abstract class SparkStrategies extends 
QueryPlanner[SparkPlan] {
           case PhysicalAggregation(
             namedGroupingExpressions, aggregateExpressions, 
rewrittenResultExpressions, child) =>
     
    +        require(
    --- End diff --
    
    Yeah I was thinking about this one too. I prefer `AnalysisException` too 
but want to make sure. @cloud-fan what do you think?


---

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

Reply via email to