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

datafusion::common

Macro downcast_value

Source
macro_rules! downcast_value {
    ($Value: expr, $Type: ident) => { ... };
    ($Value: expr, $Type: ident, $T: tt) => { ... };
}
Expand description

Downcast an Arrow Array to a concrete type, return an DataFusionError::Internal if the cast is not possible. In normal usage of DataFusion the downcast should always succeed.

Example: let array = downcast_value!(values, Int32Array)