MaxGekk commented on code in PR #40817:
URL: https://github.com/apache/spark/pull/40817#discussion_r1174422416


##########
sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:
##########
@@ -858,6 +858,15 @@ class QueryExecutionErrorsSuite
           "any enclosing class nor any supertype")),
       sqlState = "XX000")
   }
+
+  test("SPARK-42845: merge unsupported by aggregate window function") {
+    checkError(
+      intercept[SparkUnsupportedOperationException]{
+        RowNumber().mergeExpressions

Review Comment:
   Can you trigger the error from user space (by SQL statement, for instance)?



-- 
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]

Reply via email to