Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
can_cast_types in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

pub fn can_cast_types(from_type: &DataType, to_type: &DataType) -> bool
Expand description

Return true if a value of type from_type can be cast into a value of to_type. Note that such as cast may be lossy.

If this function returns true to stay consistent with the cast kernel below.