pub fn scalar_type_from_catalog(
    catalog: &dyn SessionCatalog,
    id: GlobalId,
    modifiers: &[i64]
) -> Result<ScalarType, PlanError>