everyone.I try use hbase integration but had a problem.the timestamp field query by hive is null. my sql is:
CREATE EXTERNAL TABLE hbase_data(nid string, dillegaldate timestamp, coffense string) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES( "hbase.columns.mapping"=":key,0:DILLEGALTIMESTAMP,0:COFFENSE") TBLPROPERTIES("hbase.table.name" = "ILLEGAL_DATA");
excute success,but query through hive
select * from hbase_data limit 10;
the column dillegaldate is null,I googled for it a lot of time but still not find the problem.Can anyone tell me how to solve it?thank you very much
0:DILLEGALTIMESTAMP
(2) definedillegaldate
as a string and show a data sample - David דודו Markovitz