Skip to content

Commit 1d0fe07

Browse files
committed
Added region on _oss_fs for testing sake
1 parent f878fb8 commit 1d0fe07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyiceberg/io/pyarrow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ def _initialize_oss_fs(self) -> FileSystem:
408408
"access_key": get_first_property_value(self.properties, S3_ACCESS_KEY_ID, AWS_ACCESS_KEY_ID),
409409
"secret_key": get_first_property_value(self.properties, S3_SECRET_ACCESS_KEY, AWS_SECRET_ACCESS_KEY),
410410
"session_token": get_first_property_value(self.properties, S3_SESSION_TOKEN, AWS_SESSION_TOKEN),
411+
"region": get_first_property_value(self.properties, S3_REGION, AWS_REGION),
411412
"force_virtual_addressing": property_as_bool(self.properties, S3_FORCE_VIRTUAL_ADDRESSING, True),
412413
}
413414

0 commit comments

Comments
 (0)