hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Sharma <va...@pinterest.com>
Subject Re: Question about HFile seeking
Date Thu, 16 May 2013 21:03:44 GMT
Or do we use some kind of demarcator b/w rows and columns and timestamps
when building the HFile keys and the indices ?


On Thu, May 16, 2013 at 1:56 PM, Varun Sharma <varun@pinterest.com> wrote:

> Lets say I have the following in my table:
>             col1
> row1       v1          ------> HFile entry would be "row1,col1,ts1-->v1"
>              ol1
> row1c     v2          ------> HFile entry would be "row1c,ol1,ts1-->v2"
> Now I issue a prefix scan asking row for row "row1c", how do we seek - do
> we seek directly to row1c or would we seek to row1 first and then to row1c.
> The reason being that the HFile keys are the same for both the keys. I
> simply absorb one character from the column into the row.
> Thanks
> Varun

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message