Skip to main content

MAP_KEY

Constant MAP_KEY 

Source
pub const MAP_KEY: &str = "key";
Expand description

What the key field of a map’s child struct is called.

A map is stored as a list of two field structs, and these are the two names. They are DuckDB’s, and they are also the names the Parquet specification gives a map’s repeated group, so a reader that builds one of these from a file finds the names already agreed rather than translated.