theirix opened a new issue, #19621: URL: https://github.com/apache/datafusion/issues/19621
### Is your feature request related to a problem or challenge? A helper `calculate_binary_math` and UDFs relying on it could behave strangely if the scales of inputs and outputs are different. Original logic didn't fully handle it. ### Describe the solution you'd like Improve helpers to rescale decimal literals and arrays if they have different scales. I have an experimental implementation to tackle this problem transparently for UDFs. ### Describe alternatives you've considered _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]
