hive 将多列拼为json串 SELECT to_json(named_struct('a', 'b', 'c', 'd')) 输出结果: {“a”:“b”,“c”:“d”} 支持null、list、map等多种格式 hive udf