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

Function datafusion_expr::type_coercion::binary::get_wider_type

source ยท
pub fn get_wider_type(lhs: &DataType, rhs: &DataType) -> Result<DataType>
Expand description

Returns the wider type among arguments lhs and rhs. The wider type is the type that can safely represent values from both types without information loss. Returns an Error if types are incompatible.