jayzhan211 commented on code in PR #12274:
URL: https://github.com/apache/datafusion/pull/12274#discussion_r1740103883


##########
datafusion/core/tests/dataframe/dataframe_functions.rs:
##########
@@ -346,7 +346,7 @@ async fn test_fn_approx_median() -> Result<()> {
         "+-----------------------+",
         "| approx_median(test.b) |",
         "+-----------------------+",
-        "| 10                    |",
+        "| 10.0                  |",

Review Comment:
   Yes, I change the result to f64 now.
   
   I think it is fine to have f64 for median value. I check the result of 
Duckdb, they have double for integer, although they have decimal for decimal 
input, but since we doesn't support decimal for approx_median so there is no 
regression.



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to