cloud-fan commented on code in PR #44352:
URL: https://github.com/apache/spark/pull/44352#discussion_r1431351538
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/AnalysisSuite.scala:
##########
@@ -1415,6 +1415,20 @@ class AnalysisSuite extends AnalysisTest with Matchers {
)
}
+ test("SPARK-28386: Cannot resolve ORDER BY columns with GROUP BY and
HAVING") {
+ assertAnalysisSuccess(
+ parsePlan(
+ """
+ |WITH t1 as (SELECT 1 id, 'one' name)
Review Comment:
Since this just checks analysis success, we can remove it if the test is
already in golden file.
--
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]