Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

HBase scan by RowKey filter with regular expression

$
0
0

I understand that similar rowkeys are kept together in Hbase. Considering a scenario of a pizza delivery organisation in which i have a row key designed as: and i have have this information as part of my column

and my usual queries are to get the revenue of items which has got more revenue(filter by storeId or date or itemId) My question is: 1) do i have any better option that use a scan with a rowkey filter(use columnValue filter)

2) is rowkey filter faster than ColumnValue filter ? if so how : because my regEx would be __item1 if i have to scan for a particular item say item1, this would actually mean you will scan the entire table in the above scenario will rowkey filter be equivalent to columnValue filter


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>