Function datafusion_expr::binary::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