lifulong commented on code in PR #52701:
URL: https://github.com/apache/spark/pull/52701#discussion_r2536804836


##########
sql/core/src/test/scala/org/apache/spark/sql/ApproximatePercentileQuerySuite.scala:
##########
@@ -318,7 +305,7 @@ class ApproximatePercentileQuerySuite extends QueryTest 
with SharedSparkSession
              |  percentile_approx(col, 0.77, 100000),
              |  percentile_approx(col, 0.77, 1000000)
              |FROM $table""".stripMargin),
-        Row(18, 17, 17, 17))
+        Row(17, 17, 17, 17))

Review Comment:
   yes, the result is changed, new result also meets the accuracy requirements, 
and new result is more accurate



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