You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/29 19:52:34 UTC

[GitHub] [arrow-rs] viirya commented on issue #3223: precision is not considered when cast value to decimal

viirya commented on issue #3223:
URL: https://github.com/apache/arrow-rs/issues/3223#issuecomment-1331210091

   Currently we did as @tustvold mentioned. We validate decimals by `validate_decimal_precision` after casting and put nulls for overflowing slots in an array.
   
   I think it is trivial to do by users. Okay for me if you want to add something like `null_if_overflowed_precision` to do that.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org