hive-hbase 集成,插入数据时出现意外结果

问题描述

要使用 hive 控制 HBase 表,我使用 hive-hbase 集成。使用以下命令

id int,name string
)
partitioned by (day string)
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,info:ename")
TBLPROPERTIES ("hbase.table.name" = "hbase_emp_table","hbase.mapred.output.outputtable" ="hbase_emp_table");

insert into table hive_hbase_emp_table partition(day) values(1,"a","2020")

,出乎我意料的结果。 我有一个新的蜂巢表

hive> show tables;
OK
hive_hbase_emp_table
values__tmp__table__1

我不知道它!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)