Skip to main content

get_union_columns

Function get_union_columns 

Source
fn get_union_columns<'a>(
    seen_avro_nodes: &mut BTreeSet<usize>,
    schema: SchemaNode<'a>,
    base_name: Option<&str>,
) -> Result<Vec<(ColumnName, SqlColumnType)>>
Expand description

Get the series of (one or more) SQL columns corresponding to an Avro union. See module comments for details.