kosiew commented on code in PR #25274:
URL: https://github.com/apache/datafusion/pull/25274#discussion_r4103496179


##########
datafusion/sqllogictest/test_files/aggregate.slt:
##########
@@ -1190,6 +1190,17 @@ FROM distinct_pct_nulls ORDER BY id;
 statement ok
 DROP TABLE distinct_pct_nulls;
 
+# Regression test for https://github.com/apache/datafusion/issues/25267
+# The finite endpoints have an overflowing difference, but their median is 
finite.
+query R
+SELECT percentile_cont(x, 0.5)

Review Comment:
   Could you also add a window-function test with these extreme endpoints? It 
uses the same interpolation code, and this would check that the window path 
returns the expected result too.



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