[][src]Function datafusion::optimizer::utils::get_supertype

pub fn get_supertype(l: &DataType, r: &DataType) -> Result<DataType>

Given two datatypes, determine the supertype that both types can safely be cast to