Skip to content Skip to sidebar Skip to footer

Hbase Python Filter Based On The Row Key

I'm using Python and Hbase and I need to filter rows from Hbase based on the row key. I managed to make it work for a column title:t, but I couldn't find any way to apply the subst

Solution 1:

Use RowFilter if you want to filter by row key :

for key, data in index.scan(filter="RowFilter(=,'substring:Valera')"):
    print key, data

Post a Comment for "Hbase Python Filter Based On The Row Key"