null_coercion

Function null_coercion 

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

Coercion rules from NULL type. Since NULL can be cast to any other type in arrow, either lhs or rhs is NULL, if NULL can be cast to type of the other side, the coercion is valid.