Support Questions

Find answers, ask questions, and share your expertise

Spark HBase Connector (SHC) - How to delete HBASE records from spark Dataframe source

avatar
New Contributor

Hi, when i was looking for the documentation to delete rows in HBASE table based on content from dataframe, i couldnt able to see a one from SHC documentation. only i see it for reads (get) and writes (put) here - https://hortonworks.com/blog/spark-hbase-dataframe-based-hbase-connector/ also from other hortonworks blogs and posts.

so where can i get the info on delete ? , also if you point me to the right source that would be great.

1 REPLY 1

avatar
Master Guru

After scanning the code here: https://github.com/hortonworks-spark/shc/tree/master/core/src/main/scala/org/apache/spark/sql/execut...

I don’t see any functionality to support HBase delete records. However, there is good example on how to delete HBase record using spark here: https://stackoverflow.com/questions/36183709/delete-hbase-cell-using-spark