This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new c60b70e Adding limitations of SchemaUpdateOptions to BQIO javadoc.
new 5d9f4de Merge pull request #13551 from Adding limitations of
SchemaUpdateOptions to BQIO javadoc.
c60b70e is described below
commit c60b70e0b374f7b22f9e7490c7108cbf2e2ae8cc
Author: Pablo Estrada <[email protected]>
AuthorDate: Mon Dec 14 15:59:31 2020 -0800
Adding limitations of SchemaUpdateOptions to BQIO javadoc.
---
.../main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
index d840836..2a324f1 100644
---
a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
+++
b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
@@ -2182,7 +2182,12 @@ public class BigQueryIO {
return toBuilder().setWriteDisposition(writeDisposition).build();
}
- /** Allows the schema of the destination table to be updated as a side
effect of the write. */
+ /**
+ * Allows the schema of the destination table to be updated as a side
effect of the write.
+ *
+ * <p>This configuration applies only when writing to BigQuery with {@link
Method#FILE_LOADS} as
+ * method.
+ */
public Write<T> withSchemaUpdateOptions(Set<SchemaUpdateOption>
schemaUpdateOptions) {
checkArgument(schemaUpdateOptions != null, "schemaUpdateOptions can not
be null");
return toBuilder().setSchemaUpdateOptions(schemaUpdateOptions).build();