You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "2010YOUY01 (via GitHub)" <gi...@apache.org> on 2024/08/07 13:44:03 UTC

[I] Crash bug in `APPROX_PERCENTILE_CONT` aggregate function [datafusion]

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

   ### Describe the bug
   
   See full reproducer in datafusion-cli:
   
   ```
   DataFusion CLI v40.0.0
   > /*DML*/CREATE TABLE t1(v0 BIGINT, v1 STRING, v2 STRING, v3 BIGINT);
   /*DML*/INSERT INTO t1(v3, v2, v0) VALUES (-12297124, 'X}', 1), (2077280913, '', 0), (1, '', -844943143);
   
   0 row(s) fetched.
   Elapsed 0.066 seconds.
   
   +-------+
   | count |
   +-------+
   | 3     |
   +-------+
   1 row(s) fetched.
   Elapsed 0.048 seconds.
   
   > SELECT APPROX_PERCENTILE_CONT('NaN'::Double, 0.8)
   FROM t1
   WHERE ('+Inf'::Double) > t1.v3;
   thread 'main' panicked at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/num/f64.rs:1509:9:
   min > max, or either was NaN. min = NaN, 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: github-unsubscribe@datafusion.apache.org.apache.org

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


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


Re: [I] Crash bug in `APPROX_PERCENTILE_CONT` aggregate function (SQLancer) [datafusion]

Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan closed issue #11870: Crash bug in `APPROX_PERCENTILE_CONT` aggregate function (SQLancer)
URL: https://github.com/apache/datafusion/issues/11870


-- 
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-unsubscribe@datafusion.apache.org

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


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