google bigquery - Big query update or delete issue -


i can't update or delete operation big query api via php. have techniques complete task.

2016-08: bigquery support update , delete :)

does bigquery support update, delete, , insert (sql dml) statements?


you can achieve updates , deletes bigquery - it's not native operation.

to delete rows table, re-materialize without un-desired rows:

select * [my.table1] not id in (19239,192392139,129391) 

(set options "allow large results" , "write results my.table1")

to update rows, can similar:

select * (   select * [my.table1]   not id in (select id [my.updated_rows] ), (   select * [my.updated_rows] ) 

in other words: bigquery analytical database, delete , update not optimized operations - pull them off single select statement overwrites original table.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -