2024-03-29 07:07:17 发布
网友
我最近开始学习蜂巢。我有一个python列表,它有以下值
list=['hello:struct', 'env:string', 'element:struct','AppId:string','processId:string']
所以使用上面的值我需要创建一个hiveddl。与此类似。在
我建议您使用JSON serde。请看这里https://community.hortonworks.com/repos/30883/hive-json-serde.html
你想要的是什么
CREATE TABLE demo ( hello struct < env:string, element:struct < AppId:string, processId:string > > ) ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe' LOCATION '/user/hive/demo';
我建议您使用JSON serde。请看这里https://community.hortonworks.com/repos/30883/hive-json-serde.html
你想要的是什么
相关问题 更多 >
编程相关推荐