extend_with_passthrough_metadata

Function extend_with_passthrough_metadata 

Source
fn extend_with_passthrough_metadata(
    target: &mut Map<String, Value>,
    metadata: &HashMap<String, String>,
)
Expand description

Copies Arrow schema metadata entries to the provided JSON map, skipping keys that are Avro-reserved, internal Arrow keys, or nested under the avro.schema. namespace. Values that parse as JSON are inserted as JSON; otherwise the raw string is preserved.