You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
Arter Pull Request: #6384, In arrow-datafusion casting between arrays elements stopped working. The feature could be of great help when working with different types of data.
Activity
jayzhan211 commentedon Jun 8, 2023
How to determine the final data type? For example, make_array(int, uint, float), what should be the result data type?
izveigor commentedon Jun 8, 2023
@jayzhan211
arrow-datafusionhas rules for data type coercion (See https://github.com/apache/arrow-datafusion/blob/main/datafusion/expr/src/type_coercion/binary.rs)For your instance, the result should be
floatdata type (becauseInt->UIntandUInt->Float)jayzhan211 commentedon Jun 9, 2023
I will take this