JSON_STRING (Lakehouse v2)
将 JSON 值转换为 JSON 编码的字符串。
Analyze 语法
Section titled “Analyze 语法”func.json_string(get_column(table, 'data'))Analyze 示例
Section titled “Analyze 示例”func.json_string(get_column(table, 'json_val'))
┌───────────┐│ '{"a":1}' │└───────────┘SQL 语法
Section titled “SQL 语法”JSON_STRING(<data>)SQL 示例
Section titled “SQL 示例”SELECT JSON_STRING(PARSE_JSON('{"a": 1}'));
┌─────────┐│ {"a":1} │└─────────┘