Skip to content

ARROW-9910: [Rust][DataFusion] Fixed error in type coercion of Variadic.#8108

Closed
jorgecarleitao wants to merge 1 commit intoapache:masterfrom
jorgecarleitao:type_fix
Closed

ARROW-9910: [Rust][DataFusion] Fixed error in type coercion of Variadic.#8108
jorgecarleitao wants to merge 1 commit intoapache:masterfrom
jorgecarleitao:type_fix

Conversation

@jorgecarleitao
Copy link
Member

The background of this error is that we currently use numerical_coercion(lhs, rhs) function to check if a coercion rule applies, but that function tries to come up with a common type between lhs and rhs. We should be using the function can_coerce_from to check if a cast can be performed.

This commit fixes this.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants