cakeni commented on issue #11589:
URL: https://github.com/apache/arrow-rs/issues/11589#issuecomment-6235527607

   I'd handle the out-of-table case in `make_upscaler` with a closure that 
returns `Some(0)` for zero and `None` for nonzero values. Passing that through 
`apply_decimal_cast` would preserve nulls and apply safe/strict handling per 
value; it would also keep `rescale_decimal` and the Variant casts that use it 
consistent. Could we cover zero-only, mixed, all-null and empty arrays across 
the decimal widths?
   


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

Reply via email to