You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "parthchandra (via GitHub)" <gi...@apache.org> on 2026/03/26 16:37:17 UTC

[I] CheckOverflow panics with "fail_on_error (ANSI mode) is not supported yet" for scalar decimal inputs [datafusion-comet]

parthchandra opened a new issue, #3801:
URL: https://github.com/apache/datafusion-comet/issues/3801

   ### Describe the bug
   
   Running TPCDS q23a, q23b, and q36a-v2.7 with Comet enabled causes a native panic and task failure:
   
     Comet native panic: panicked at spark-expr/src/math_funcs/internal/checkoverflow.rs:204:17:
     fail_on_error (ANSI mode) is not supported yet
   
     **Steps to reproduce**
   
   Run TPCDS q23a, q23b, or q36a-v2.7 with Comet enabled and ANSI mode on
   
   Probable cause - 
   
     CheckOverflow::evaluate in native/spark-expr/src/math_funcs/internal/checkoverflow.rs does not handle the case with Scalar input  - `(ColumnarValue::Scalar(ScalarValue::Decimal128(...)))`— fail_on_error=true is not implemented and hits an assert! that unconditionally panics:
   
     In TPCDS q23a, a scalar decimal expression passes through CheckOverflow with fail_on_error=true (ANSI mode), hits the scalar branch, and triggers the panic. Because it is a panic rather than a returned error, the JVM receives a CometNativeException and the entire stage fails with  no fallback.
   
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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] CheckOverflow panics with "fail_on_error (ANSI mode) is not supported yet" for scalar decimal inputs [datafusion-comet]

Posted by "parthchandra (via GitHub)" <gi...@apache.org>.
parthchandra closed issue #3801: CheckOverflow panics with "fail_on_error (ANSI mode) is not supported yet" for scalar decimal inputs
URL: https://github.com/apache/datafusion-comet/issues/3801


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