Skip to main content

can_fast_cast_types

Function can_fast_cast_types 

Source
fn can_fast_cast_types(from_type: &DataType, to_type: &DataType) -> bool
Expand description

Returns whether Arrow can cast between the types without JSON-aware projection. Binary and nested types require JSONB decoding or recursive projection.