This is my first time using BigTable I can't tell if I don't understand bigtable modeling or how to use the python library.
Some background on what I'm storing:
I am storing time series events that let's say have two columns name and message, my rowkey is "#200501163223" so rowkey includes time in this format '%y%m%d%H%M%S'
Let's say later I needed to add another column called "type".
Also, it possible that there can be two events at the same second.
So this is what I end up with if I store 2 events, with the second event having the additional "type" data:
account#200501163223
Outbox:name @ 2020/05/01-17:32:16.412000
"name1"
Outbox:name @ 2020/05/01-16:41:49.093000
"name2"
Outbox:message @ 2020/05/01-17:32:16.412000
"msg1"
Outbox:message @ 2020/05/01-16:41:49.093000
"msg2"
Outbox:type @ 2020/05/01-16:35:09.839000
"temp"
When I query this rowkey using python bigtable library, I get back a dictionary with my column names as keys and data as a list of Cell objects
"name" and "message" key would have 2 objects, and "type" would only have one object since it was only part of the second event.
My question is, how do I know which event, 1 or 2 that "type" value of temp belongs to? Is this model just wrong and I have to ensure only one event can be stored under a rowkey which would be hard to do.. or is there a trick I'm missing in the library to be able to associate the events data accordingly?