kumarUjjawal commented on issue #26672: URL: https://github.com/apache/datafusion/issues/26672#issuecomment-6409350576
> * [ ] [Unsafe / incorrect `unwrap_cast` optimizations for narrowing casts (e.g. Decimal) #23095](https://github.com/apache/datafusion/issues/23095) #22906 fixes the decimal scale-narrowing bug. The logical and physical simplifiers now use shared cast-family checks, and this narrowing cast stays in the predicate instead of becoming d = 1.2300. Verified on main at 350ca76505c9513d16e7dd9910bcd9bde2c911ed: - The original reproducer returns one row: 1.2345. -- 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]
