I am running into a loop when attempting to import data from BigQuery.
At origin, my data is already in milliseconds since epoch.
If I query:
event_time as time,
I get the error:
1.'time' column should be a TIMESTAMP_NTZ column (Snowflake) or a TIMESTAMP column (BigQuery). example for the type of 'time' column is TIMESTAMP_NTZ.
But conversely, if my query is, for instance:
TIMESTAMP_MILLIS(event_time) as time,
then I get:
1.'time' column should be milliseconds since epoch. An example for 'time' column: 1396381378123.
I have tried a myriad variations of CAST functions back and forth, and whenever I get milliseconds, the tool asks me for timestamp, and vice versa. And in both cases, the preview of the data to be imported always displays correctly!
any ideas?