cloud-fan commented on code in PR #48649:
URL: https://github.com/apache/spark/pull/48649#discussion_r1831417433
##########
sql/core/src/test/resources/sql-tests/analyzer-results/pipe-operators.sql.out:
##########
@@ -716,7 +716,22 @@ org.apache.spark.sql.AnalysisException
-- !query
-select * from t where first_value(x) over (partition by y) = 1
+table t
+|> where sum(x) over w = 1
+ window w as (partition by y)
+-- !query analysis
+org.apache.spark.SparkException
+{
+ "errorClass" : "INTERNAL_ERROR",
+ "sqlState" : "XX000",
+ "messageParameters" : {
+ "message" : "Cannot find main error class
'NOT_ALLOWED_IN_PIPE_OPERATOR_WHERE.WINDOW_CLAUSE'"
Review Comment:
this means something is wrong... We need to add the error class in
`error-conditions.json`
--
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]