slilichenko commented on code in PR #26975:
URL: https://github.com/apache/beam/pull/26975#discussion_r1222114197


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java:
##########
@@ -477,6 +476,56 @@
  * reviewers mentioned <a
  * 
href="https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/OWNERS";>
  * here</a>.
+ *
+ * <h3>Upserts and deletes</h3>
+ *
+ * The connector also supports streaming row updates to BigQuery, with the 
following qualifications:
+ * - The CREATE_IF_NEEDED CreateDisposition is not supported. Tables must be 
precreated with primary
+ * keys. - Only the STORAGE_WRITE_API_AT_LEAST_ONCE method is supported.
+ *
+ * <p>Two types of updates are supported. UPSERT replaces the row with the 
matching primary key or
+ * inserts the row if non exists. DELETE removes the row with the matching 
primary key. Row inserts
+ * are still allowed as normal using a separate instance of the sink, however 
care must be taken not

Review Comment:
   I would remove reference to "Row inserts" and only leave the "upsert" logic. 
This should match the BigQuery documentation where INSERTS for CDC are not 
discussed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to