Reputation: 3024
Say I have a table that contains billions of records.
"col36847629"
. if I apply a column qualifier filter, will it scan the entire table?Upvotes: 1
Views: 877
Reputation: 1703
Any filters on Bigtable reads (besides ones related to the rowkey) will cause a full table scan if not contained by a rowkey or range. The filters are in place to help reduce the amount of data sent over the network for lower network costs and faster throughput, but are not going to reduce the size of the scan.
If this is a common scenario you're facing, you might want to add some date or timestamp information into your rowkey as a way to filter on that and then perform the scans.
Upvotes: 1