hive中如何生成json类型的字段

使用函数named_struct

 

例如named_struct(‘文字’,字段名,'文字’,字段名 )

posted @ 2019-11-11 15:12  TryMyBest!  阅读(3298)  评论(0编辑  收藏  举报