I am trying to use a ColumnFamilyTimeRange
on my Scan
to read only recent rows from Bigtable. However, the scan returns all rows no matter what I set the time range to.
I have one column family. Here's what I'm seeing: I add a new row with a value for that column family, then wait, then add another new row. I then do a read from Bigtable with a Scan
with an ordinary (ie not column family specific) TimeRange
set. It correctly returns only the recently added row.
However, when I change that TimeRange
to a ColumnFamilyTimeRange
with the same timestamp bounds and the only column family I have, I get back every row. Even when I set the timestamp bounds to something nonsensical (such as before I even created the table), I still get back every row.
Is this a bug or am I completely missing how ColumnFamilyTimeRange
is meant to work?