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
cast in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

Function cast

Source
pub fn cast(
    array: &dyn Array,
    to_type: &DataType,
) -> Result<Arc<dyn Array>, ArrowError>
Expand description

Cast array to the provided data type and return a new Array with type to_type, if possible.

See cast_with_options for more information