- push down filters
- remote cluster support (hbase and hive in the different clusters)
Sargable = Search ARGument ABLE
=,!=,>,<,>=,<=,between,is_null,rlike
HBase and Hive can be in the different clusters. We call this kind of hive table as a remote table.
The project can only support the remote table as a external table and it will not be managed by the metastore.
As a trick, the project use a convention that a table ending With "_" will be considered as a remote table, due to no table properties can be achieved in HiveMetaHook.
A config in TBLPROPERTIES is added for this feature: "hbase.remote.conf.file"="/local/hdfs/path/to/remote_cluster_hbase-site.xml"
, it tells the hive services which hbase it should connect.
Check the pom.xml if the versions of hadoop/hbase/etc. suit your cluster, modify pom.xml and re-package if you want.
Put the jar under ${HIVE_HOME}/lib/
.
- hive complexed datatype optimized support
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Lhfcws/hive-hbase-handler2/master/install.sh)"