I m trying to create. stable in snowflake, making sure that time stamp is CURRENT_TIMESTAMP() but in UTC. Here is the syntax I am using;
ALTER SESSION SET TIMEZONE = 'UTC';
CREATE OR REPLACE TABLE DATA_LAKE.CUSTOMER.ACT_PREDICTED_PROBABILITIES_DATAROBOT(
ACCOUNT_ID NUMBER NOT NULL PRIMARY KEY,
PREDICTED_PROBABILITY FLOAT,
TIME_PREDICTED TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
But after inserting rows into this table, I am still getting the time in America/Los Angeles time format.
479291 0.5797053576 2021-06-16 13:56:26.595
Can I kindly get help on how to get timestamp in UTC? Help is appreciated.