I see that Bigtable is designed to only have 1 primary index, the row key. However I now realize I want to scan Bigtable by a time range in which a row is added. How should I implement this? Is it possible or should I consider something else like Cloud Datastore?
Currently my row key is just a hash, like this: ABC1234567. Can I add a timestamp to it (e.g. ABC1234567#20180524) then use regex filter on row key to scan by time range? This scan doesn't have to be very fast. But then when I look for a hash (which needs to be fast), I need to use prefix scan instead of exact match. I'm not sure of the impact to performance this may incur.
Another solution is maybe to add another table to store timestamp info.
One more thing to consider is that I'm using the Node.js client which is in alpha right now, so it may not have all the tools necessary.