Skip to content

Commit eea560f

Browse files
authored
Write append tables can be asynchronous (#39120) (#39148)
1 parent ccbfb33 commit eea560f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run.",
33
"pr": "37345",
4-
"modification": 51
5-
}
4+
"modification": 52
5+
}

sdks/python/apache_beam/io/gcp/bigquery_file_loads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def _determine_write_disposition(self, copy_to_reference) -> tuple[bool, str]:
607607
copy_to_reference.tableId)
608608
if full_table_ref not in self._observed_tables:
609609
write_disposition = self.write_disposition
610-
wait_for_job = True
610+
wait_for_job = write_disposition != 'WRITE_APPEND'
611611
self._observed_tables.add(full_table_ref)
612612
Lineage.sinks().add(
613613
'bigquery',

0 commit comments

Comments
 (0)