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

Function try_binary

Source
pub fn try_binary<A, B, F, O>(
    a: A,
    b: B,
    op: F,
) -> Result<PrimitiveArray<O>, ArrowError>
Expand description

Applies the provided fallible binary operation across a and b.

This will return any error encountered, or collect the results into a PrimitiveArray. If any index is null in either a or b, the corresponding index in the result will also be null

Like try_unary the function is only evaluated for non-null indices

ยงError

Return an error if the arrays have different lengths or the operation is under erroneous