Andrew Lamb created ARROW-10236:
-----------------------------------
Summary: [Rust] [DataFusion] Make DataFusion casting rules
consistent with cast kernel rules
Key: ARROW-10236
URL: https://issues.apache.org/jira/browse/ARROW-10236
Project: Apache Arrow
Issue Type: Improvement
Reporter: Andrew Lamb
Assignee: Andrew Lamb
There are plan time checks for valid type casts in DataFusion that are designed
to catch errors early before plan execution
Sadly the cast types that DataFusion thinks are valid is a significant subset
of what the arrow cast kernel supports. The goal of this ticket is to bring
DataFusion to parity with the type casting supported by arrow and allow
DataFusion to plan all casts that are supported by the arrow cast kernel
(I want this implicitly so when I add support for DictionaryArray casts in
Arrow they also are part of DataFusion)
Previously the notions of coercion and casting were somewhat conflated. I have
tried to clarify them in https://github.com/apache/arrow/pull/8399 as well
For more detail, see
https://github.com/apache/arrow/pull/8340#discussion_r501257096 from
[~jorgecarleitao]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)