Google BigQuery Delete Rows?

前端 未结 6 1273
挽巷
挽巷 2020-12-03 01:25

Anyone know of any plans to add support for delete parts of data from a table in Google Bigquery? The issue we have right now is we are using it for analytics of data point

6条回答
  •  醉酒成梦
    2020-12-03 01:53

    Also, if applicable, you can try BigQuery's OMIT RECORD IF, to return all items except what you want to delete. Then, create a new table from that query result.

    (example taken from Google reference docs)

    SELECT * FROM
      publicdata:samples.github_nested
    
    OMIT RECORD IF
      COUNT(payload.pages.page_name) <= 80;
    

    Source: https://cloud.google.com/bigquery/query-reference

提交回复
热议问题