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
values_coercion in datafusion_expr::type_coercion::binary - Rust
[go: Go Back, main page]

datafusion_expr::type_coercion::binary

Function values_coercion

Source
pub fn values_coercion(
    lhs_type: &DataType,
    rhs_type: &DataType,
) -> Option<DataType>
Expand description

Coerce lhs_type and rhs_type to a common type for VALUES expression

For example VALUES (1, 2), (3.0, 4.0) where the first row is Int32 and the second row is Float64 will coerce to Float64