I want to read the last (latest) records written to bigtable with cbt. The docs don't mention which order cbt read reads records in, however. I don't know what the row key(s) would be.
Is there a way to read records with cbt by insertion time?
Update:
Here is what I see when reading a table:
cbt read table_name count=10 | grep processedTime
2021/12/17 09:20:42 -creds flag unset, will use gcloud credential
general:processedTime @ 2021/06/29-14:40:04.028000
general:processedTime @ 2021/06/17-12:32:04.055000
general:processedTime @ 2021/06/17-12:32:40.032000
general:processedTime @ 2021/06/17-12:32:43.047000
general:processedTime @ 2021/06/10-18:45:53.495000
general:processedTime @ 2021/06/17-12:31:28.772000
general:processedTime @ 2021/06/17-12:30:41.205000
general:processedTime @ 2021/06/17-12:30:33.960000
general:processedTime @ 2021/06/29-14:40:17.811000
general:processedTime @ 2021/06/17-12:32:06.795000
general:processedTime @ 2021/06/17-12:31:49.202000
The cbt read does not give results in order by time.
Is there a way to get cbt read to order the results by time?
