We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 404b2cd commit 9bec165Copy full SHA for 9bec165
pyiceberg/table/__init__.py
@@ -807,7 +807,7 @@ def upsert(
807
case_sensitive=case_sensitive,
808
)
809
810
- if branch is not None:
+ if branch in self.table_metadata.refs:
811
matched_iceberg_record_batches_scan = matched_iceberg_record_batches_scan.use_ref(branch)
812
813
matched_iceberg_record_batches = matched_iceberg_record_batches_scan.to_arrow_batch_reader()
0 commit comments