HIVE中map,array和structs使用
1:怎样导入文本文件(格式是怎样的?),2:怎样查询数据,已经能否在join中使用?在子查询中使用?等等
知道怎么在hive中导入数组不?
例如:我想把 数组[1,2,3] 和 数组 ["a","b","c"]
导入到table1中
create table table2 ( a array , b array);
那么 我如何 导入呢?使得
select * from tab
转载
2011-12-30 14:16:47 ·
538 阅读 ·
0 评论