wForget commented on PR #2916:
URL: 
https://github.com/apache/datafusion-comet/pull/2916#issuecomment-3707850222

   @manuzhang The `cast_decimal_to_int32_up` function also has a similar issue. 
Could you fix it as well?
   
   Reproduce test case:
   
   ```
       castTest(
         
generateDecimalsPrecision38Scale18(Seq(BigDecimal("-99999999999999999999.07"))),
         DataTypes.LongType)
   ```
   
   error:
   
   ```
   "...9999999999999999999.[]70000000000000000BD ..." did not equal 
"...9999999999999999999.[0]70000000000000000BD ..."
   ```


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