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/12/03 08:01:51 UTC
[GitHub] [arrow-rs] viirya commented on a diff in pull request #3238: Enable casting between Dictionary of DecimalArray and DecimalArray
viirya commented on code in PR #3238:
URL: https://github.com/apache/arrow-rs/pull/3238#discussion_r1038746875
##########
arrow-cast/src/cast.rs:
##########
@@ -693,6 +784,36 @@ pub fn cast_with_options(
Float64 => {
cast_decimal_to_float!(array, scale, Float64Builder, f64)
}
+ Dictionary(index_type, value_type) => match **index_type {
Review Comment:
Good catch! Moved the dictionary matches to the top.
--
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