2010YOUY01 opened a new issue, #11871:
URL: https://github.com/apache/datafusion/issues/11871

   ### Describe the bug
   
   See full reproducer in datafusion-cli
   
   ```
   DataFusion CLI v40.0.0
   > /*DML*/CREATE TABLE t1(v0 BOOLEAN, v1 BIGINT, v2 BOOLEAN, v3 STRING);
   /*DML*/INSERT INTO t1(v3, v0, v2, v1) VALUES ('', false, false, 1962353436);
   0 row(s) fetched.
   Elapsed 0.068 seconds.
   
   +-------+
   | count |
   +-------+
   | 1     |
   +-------+
   1 row(s) fetched.
   Elapsed 0.046 seconds.
   
   > select APPROX_MEDIAN('NaN'::Double)
   FROM
       t1
   WHERE
       (t1.v0) IS DISTINCT FROM true;
   thread 'main' panicked at 
/rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/num/f64.rs:1509:9:
   min > max, or either was NaN. min = inf, max = -inf
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   Found by SQLancer https://github.com/apache/datafusion/issues/11030


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