devanshu0987 commented on PR #20059:
URL: https://github.com/apache/datafusion/pull/20059#issuecomment-3830031208

   > @devanshu0987 that's a great point that I didn't consider. My first 
thought would be to always rescale the min to whatever scale is used by the max 
using something like 
[`rescale_decimal()`](https://docs.rs/arrow/latest/arrow/compute/fn.rescale_decimal.html).
 I'm not sure if that would be the simplest solution though.
   
   This feels like it will work.
   I will give this a go in the next PR.
   Thanks.


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