cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp to Big Query Datetime

KHK
Partner
Partner

Hi 

 

My Source table is Big Query Table and Target table is Big Query Table.

I have created MV and sent to Data Destination getting below error.

KHK_0-1777468252186.png

Big Query Table DateTime Format is as below.

KHK_1-1777468301039.png

KHK_2-1777468321048.png

 

I have written formula forEXT_LAST_UPDATE DATE as 

COALESCE(
  to_timestamp(EXT_LAST_UPDATE_DATE, 'yyyy-MM-dd HH:mm:ss'),
  to_timestamp(EXT_LAST_UPDATE_DATE, 'yy-MM-dd HH:mm:ss')
) AS EXT_LAST_UPDATE_DATE
 
Please let me know how to convert Timestamp to Datetime.

 

 

0 REPLIES 0