gengliangwang commented on code in PR #39040: URL: https://github.com/apache/spark/pull/39040#discussion_r1052735930
########## sql/core/src/test/scala/org/apache/spark/sql/LateralColumnAliasSuite.scala: ########## @@ -689,4 +713,38 @@ class LateralColumnAliasSuite extends LateralColumnAliasSuiteBase { s"after extracted from Alias. Current aggregateExpressions: $aggregateExpressions") } } + + test("Non-aggregating expressions not in group by still throws the same error") { + // query without lateral alias + assert( Review Comment: use `checkError`? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org