Module cast

Source

Structs§

CastOption
Cast options for cast functions.

Functions§

can_cast_type
Return true if the src_value can be casted to dest_type, Otherwise, return false.
cast
Used to cast the value to dest ConcreteDataType temporarily. To keep the same behavior as arrow-rs.
cast_with_opt
Cast the value to dest_type with CastOption.
invalid_type_cast 🔒