So the following HBase command works to list the key/value where the key's prefix does NOT match PREFIX1 or PREFIX2
scan 'MYTABLE', {FILTER=>"RowFilter(!=, 'regexstring:(PREFIX1)|(PREFIX2).*')"}
My goal is to perform the deleteall command for those key/values
deleteall 'MYTABLE', {FILTER=>"RowFilter(!=, 'regexstring:(PREFIX1)|(PREFIX2).*')"}
However, the output is...
0 row(s) in 0.0030 seconds
and the previous scan still shows the same result as if nothing got deleted.
I tried
deleteall 'MYTABLE', 'HELLO\x00WORLD'
but it did not delete all the key 'HELLO\x00WORLD' in 'MYTABLE'.
How do I go about deleting all the row with matching prefix in the key?