hortonworks-spark / shc

The Apache Spark - Apache HBase Connector is a library to support Spark accessing HBase table as external data source or sink.
Apache License 2.0
552 stars 281 forks source link

Added enhancement / support for Google BigTable #336

Closed vim89 closed 4 years ago

vim89 commented 4 years ago

What changes were proposed in this pull request?

Made adjustments in HBaseRelation.scala & HBaseTableCatalog.scala. I had to create an if else branch for that based on "tabletype" argument passed to HBaseTableCatalog class. "tabletype" variable takes value "bigtable" by default if not explicitly specified. Use "hbase" when using this API for HBase.

README.md is updated as well to illustrate the usage.

How was this patch tested?

This patch was tested manually. It has also been used extensively in my project & running in production for the past 8 months. I think now it is stable and now is the good time to create pull request & merge into master.

An Example of using this with Google BigTable is here

Regards, Vitthal