JSON_EACH (Lakehouse v2)
Expande o objeto JSON de nível superior num conjunto de pares chave-valor.
Sintaxe de Analyze
Seção intitulada “Sintaxe de Analyze”func.json_each(get_column(table, 'data'))Exemplos de Analyze
Seção intitulada “Exemplos de Analyze”func.json_each(get_column(table, 'data'))Sintaxe SQL
Seção intitulada “Sintaxe SQL”JSON_EACH(<data>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT * FROM TABLE(JSON_EACH(PARSE_JSON('{"a":1,"b":2}')));
┌─────┬───────┐│ key │ value │├─────┼───────┤│ a │ 1 ││ b │ 2 │└─────┴───────┘