I am trying to write events in streaming into Big Query table using dataflow apache beam (python) having a problem with timestamp format.
I have an event (json) with epoch timestamp (int) values which I want to insert into BIG QUERY table with timestamp columns .
What is the best way to do it ? Can I do it without parsing each event ? can I declare the format of the timestamp received ?
for example :
event= {'ts' : 1630494181342 ,'user' : 'anat'}
Into table :
{ts: timestamp , user: string}