如何使用数据类型映射(VARCHAR,ARRAY [MAP(VARCHAR,VARCHAR)]]创建蜂巢中的表格
我正在尝试创建一个具有复杂数据类型的表。数据类型在下面列出。
map< string,array< map< string,string>>>>
,我所寻找的数据如下
{'tags': [{'type': 'type1', 'value': 'value1'}, {'type': 'type1', 'value': 'value1'}]}
所能帮助我在蜂巢中创建表,并将值插入该蜂巢中桌子。
I am trying to create a table which has a complex data type. And the data types are listed below.
map<string, array <map <String,String>>>
, the data I am looking is as follows
{'tags': [{'type': 'type1', 'value': 'value1'}, {'type': 'type1', 'value': 'value1'}]}
Kindly help me with create table in Hive as well as inserting values to this Hive table.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论