beliefer commented on code in PR #43910:
URL: https://github.com/apache/spark/pull/43910#discussion_r1412093209


##########
sql/core/src/test/resources/sql-tests/analyzer-results/percentiles.sql.out:
##########
@@ -149,6 +149,226 @@ Aggregate [median(v#x) AS median(v)#x, percentile(v#x, 
cast(0.5 as double), 1, 0
                +- LocalRelation [k#x, v#x]
 
 
+-- !query
+SELECT
+  round(v, 0) WITHIN GROUP (ORDER BY v)
+FROM aggr
+-- !query analysis
+org.apache.spark.sql.AnalysisException
+{
+  "errorClass" : "_LEGACY_ERROR_TEMP_1023",

Review Comment:
   Let me make a separate PR for this, because this mistake is very common and 
can be easily corrected. It's not easy to review, and I'm also not good at 
resolving conflicts.



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