Skip to main content

check_target_compat

Function check_target_compat 

Source
pub fn check_target_compat(
    arrow_type: Option<&DataType>,
    target: ExportTarget,
) -> TargetCompat
Expand description

Check whether arrow_type (the type Rivet will write into Parquet) will produce the expected type when loaded into target.

Returns None if arrow_type is None (unresolved / unsupported column).