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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]