Skip to main content

apply_per_table_semantic_options

Function apply_per_table_semantic_options 

Source
pub fn apply_per_table_semantic_options(
    table_options: &mut HashMap<String, String>,
    index: Option<&PerTableSemanticIndex>,
    schema: &str,
    table_name: &str,
)
Expand description

Folds the semantic keys of the table being created into table_options.

Common keys shared by every table in a request travel as plain semantic extensions and are handled by fill_table_options_for_create; this carries only the per-table tail and is applied after it, so a per-table value (e.g. declared quality) wins. Keys are re-checked against the vocabulary defensively.