标签: google-bigquery
我有一个TIMESTAMP类型列,我希望在现有的bigquery表中更改为DATE类型。我尝试过这个解决方案How to change a column type of a BigQuery table by querying and exporting to itself?,但我想保留所有现有字段,而不是覆盖整个表。
这是我尝试过的 SELECT CAST (DATE(csysdate) AS DATE) AS csdate from [TABLE]
SELECT CAST (DATE(csysdate) AS DATE) AS csdate from [TABLE]
真的很感激一些帮助。