Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
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