Google Dataflow: insert + update in BigQuery in a streaming pipeline
问题 The main object A python streaming pipeline in which I read the input from pub/sub. After the input is analyzed, two option are available: If x=1 -> insert If x=2 -> update Testing This can not be done using apache beam function, so you need to develop it using the 0.25 API of BigQuery (currently this is the version supported in Google Dataflow) The problem The inserted record are still in the BigQuery buffer, so the update statement fail: UPDATE or DELETE statement over table table would