Skip to content

Commit dcfe06f

Browse files
committed
Fix Iceberg integration
1 parent 3304e4d commit dcfe06f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

syncmaster/worker/handlers/db/iceberg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def connect(self, spark: SparkSession):
4040
spark=spark,
4141
catalog_name=self.transfer_dto.catalog_name,
4242
catalog=Iceberg.RESTCatalog(
43-
uri=self.connection_dto.rest_catalog_url,
43+
url=self.connection_dto.rest_catalog_url,
4444
auth=self._make_auth(),
4545
),
4646
warehouse=Iceberg.S3Warehouse(
@@ -60,7 +60,7 @@ def connect(self, spark: SparkSession):
6060
spark=spark,
6161
catalog_name=self.transfer_dto.catalog_name,
6262
catalog=Iceberg.RESTCatalog(
63-
uri=self.connection_dto.rest_catalog_url,
63+
url=self.connection_dto.rest_catalog_url,
6464
auth=self._make_auth(),
6565
),
6666
warehouse=Iceberg.DelegatedWarehouse(

tests/test_integration/test_run_transfer/connection_fixtures/iceberg_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def prepare_iceberg_rest_s3(
7777
spark=spark,
7878
catalog_name=catalog_name,
7979
catalog=Iceberg.RESTCatalog(
80-
uri=iceberg.rest_catalog_url,
80+
url=iceberg.rest_catalog_url,
8181
auth=Iceberg.RESTCatalog.BasicAuth(
8282
user=iceberg.rest_catalog_username,
8383
password=iceberg.rest_catalog_password,

0 commit comments

Comments
 (0)