DICTIONARY_GET (Lakehouse v2)
辞書オブジェクトから指定したキーの値を返します。
Analyzeの構文
Section titled “Analyzeの構文”func.dictionary_get(<dict_name>, <key_column>, <key_value>)Analyzeの例
Section titled “Analyzeの例”func.dictionary_get('status_dict', get_column(table, 'status_code'))
┌──────────┐│ 'Active' │└──────────┘SQLの構文
Section titled “SQLの構文”DICTIONARY_GET(<dict_name>, <key_column>, <key_value>)SELECT DICTIONARY_GET('status_dict', status_code) FROM records;
┌────────┐│ Active │└────────┘