comphead commented on issue #3039:
URL: 
https://github.com/apache/arrow-datafusion/issues/3039#issuecomment-1306062757

   Hi @andygrove Im working on 
https://github.com/apache/arrow-datafusion/issues/4051 and found your comments.
   I ran tests in postgres
   ```
   /*
   create table t (x real);
                insert into t (x) values (1.1);
                insert into t (x) values ('NaN');
                insert into t (x) values ('NaN');
                insert into t (x) values ('NaN');
   */
           
   select 1 from (select PERCENTILE_CONT(0.5) WITHIN GROUP(ORDER BY x) a FROM 
t) b where a != 'NaN'::NUMERIC;        
   ```
   So looks like datafusion behaviuor and postgres are the same


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

Reply via email to