Skip to content

Commit

Permalink
Add missing params to Python Bigtable MutationsBatcher (#31791)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguymin4 authored Jul 10, 2024
1 parent c9adc8e commit 018bcdf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdks/python/apache_beam/io/gcp/bigtableio.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def start_bundle(self):
self.beam_options['instance_id'],
self.beam_options['table_id'])
self.batcher = MutationsBatcher(
self.table, batch_completed_callback=self.write_mutate_metrics)
self.table,
batch_completed_callback=self.write_mutate_metrics,
flush_count=FLUSH_COUNT,
max_row_bytes=MAX_ROW_BYTES)

def process(self, row):
self.written.inc()
Expand Down

0 comments on commit 018bcdf

Please sign in to comment.