Hi Fabio, You could probably just execute a regular DELETE query from a JDBC call, which is generally safe to do either from the Spark driver or within an executor. As long as auto-commit is enabled, it's an entirely server side operation: https://phoenix.apache.org/language/#delete
Josh On Wed, Sep 28, 2016 at 2:13 PM, fabio ferrante <fabio.ferra...@eng.it> wrote: > Hi, > > I would like to perform a bulk delete to HBase using Apache Phoenix from > Spark. Using Phoenix-Spark plugin i can successfully perform a bulk load > using saveToPhoenix method from PhoenixRDD but how i can perform a bulk > delete? There isn't a deleteFromPhoenix method in PhoenixRDD. Is that > correct? Implement such method is a trivial task? > > Thanks in advance, > Fabio. >