Skip to content

Commit 1d28f12

Browse files
authored
BigQuery: Document the behavior that streaming inserts are not present in destination output (#3407)
1 parent d7bcd45 commit 1d28f12

File tree

1 file changed

+12
-0
lines changed
  • google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery

1 file changed

+12
-0
lines changed

google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Table.java

+12
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,12 @@ public boolean delete() {
235235
/**
236236
* Insert rows into the table.
237237
*
238+
* <p>Streaming inserts reside temporarily in the streaming buffer, which has different
239+
* availability characteristics than managed storage. Certain operations do not interact with the
240+
* streaming buffer, such as {@link #list(TableDataListOption...)} and {@link #copy(TableId,
241+
* JobOption...)}. As such, recent streaming data will not be present in the destination table or
242+
* output.
243+
*
238244
* <p>Example of inserting rows into the table.
239245
* <pre> {@code
240246
* String rowId1 = "rowId1";
@@ -263,6 +269,12 @@ public InsertAllResponse insert(Iterable<InsertAllRequest.RowToInsert> rows)
263269
/**
264270
* Insert rows into the table.
265271
*
272+
* <p>Streaming inserts reside temporarily in the streaming buffer, which has different
273+
* availability characteristics than managed storage. Certain operations do not interact with the
274+
* streaming buffer, such as {@link #list(TableDataListOption...)} and {@link #copy(TableId,
275+
* JobOption...)}. As such, recent streaming data will not be present in the destination table or
276+
* output.
277+
*
266278
* <p>Example of inserting rows into the table, ignoring invalid rows.
267279
* <pre> {@code
268280
* String rowId1 = "rowId1";

0 commit comments

Comments
 (0)