Date, DateTime, TimeStamp Datatypes - BigQuery

preview_player
Показать описание
In this offering we will see the differences between the four date & time datatypes in BigQuery

#bigquery #gcp #googlecloud #datetime #date #timestamps
Рекомендации по теме
Комментарии
Автор

Hi Sadhana,

I am facing some issue while I am converting string to Date.
From Bigquery I am receiving one date column ( callbackScheduledTime ).

The Date Format is like : 2022-11-17T13:59:56.954Z

I want to convert to ( This Format. For that I am writing a code like Below .


FORMAT_TIMESTAMP('%Y/%m/%d %R:%S', AS Date when I run this I am getting an ERROR. Please find the error Below.

The following error occurred:
ERROR [42000] [Qlik][BigQuery] (70) Invalid query: Syntax error: Expected end of input but got "(" at [3:25]
The error occurred here:
[sessions]:
SELECT
callbackScheduledTime
FORMAT_TIMESTAMP('%Y/%m/%d %R:%S', AS Date
FROM


Can you please Help with this.

VamsiKondamareddy