You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/SchemaAwareStreamWriter.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,13 @@
43
43
* StreamWriter functions, but also provides an additional feature: schema update support, where if
44
44
* the BigQuery table schema is updated, users will be able to ingest data on the new schema after
45
45
* some time (in order of minutes).
46
+
*
47
+
* <p>NOTE: The schema update ability will be disabled when you pass in a table schema explicitly
48
+
* through the writer. It is recommended that user either use JsonStreamWriter (which fully manages
49
+
* table schema) or StreamWriter (which accepts proto format in raw and user will handle the schema
50
+
* update event themsevles). If you use this class, you need to be very cautious about possible
51
+
* mistmach between the writer's schema and the input data, any mismatch of the two will cause data
0 commit comments