GaneshPatil7517 commented on code in PR #19618:
URL: https://github.com/apache/datafusion/pull/19618#discussion_r2663960428


##########
datafusion/sqllogictest/test_files/aggregate.slt:
##########
@@ -8246,3 +8246,137 @@ query R
 select percentile_cont(null, 0.5);
 ----
 NULL
+
+###########
+# Issue #19612: Test that percentile_cont and median produce identical results
+# in window frame queries with ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT 
ROW.
+# Previously percentile_cont consumed its internal state during evaluate(),
+# causing incorrect results when called multiple times in window queries.
+###########
+
+# Test percentile_cont window frame behavior (fix for issue #19612)
+statement ok
+CREATE TABLE percentile_window_test (

Review Comment:
   ok ill update it....



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