DICT_MAPPING (Lakehouse v2)
Renvoie la valeur associée à une clé spécifiée dans une table de dictionnaire.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.dict_mapping(<dict_table>, <key_column>, <key_value>)Exemples Analyze
Section intitulée « Exemples Analyze »func.dict_mapping('city_dict', get_column(table, 'city_id'))
┌────────────┐│ 'New York' │└────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »DICT_MAPPING(<dict_table>, <key_column>, <key_value>)Exemples SQL
Section intitulée « Exemples SQL »SELECT DICT_MAPPING('city_dict', city_id) FROM orders;
┌──────────┐│ New York │└──────────┘