BigQuery - Restored Deleted Table via UI

后端 未结 1 1324
眼角桃花
眼角桃花 2021-01-21 11:09

There are a few posts on this via the CLI, but not sure on the current state via the UI and with the new alpha UI coming.

Is there a way, within the 2 day delete grace p

相关标签:
1条回答
  • 2021-01-21 11:38

    With standard SQL you can run SELECT * FROM deleted-table FOR SYSTEM TIME AS OF ...

    which works like the @timestamp in legacy SQL. More details here https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#for-system-time-as-of

    You can set destination table in the query options in UI.

    0 讨论(0)
提交回复
热议问题