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