Skip to content

Commit

Permalink
Return s3 endpoint as str() instead of Url (#18521)
Browse files Browse the repository at this point in the history
  • Loading branch information
IceS2 authored Nov 5, 2024
1 parent e9a888f commit dccba20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_fs_params(cls, fs_config: FileSystemConfig) -> dict:
)

return {
S3_ENDPOINT: fs_config.endPointURL,
S3_ENDPOINT: str(fs_config.endPointURL),
S3_ACCESS_KEY_ID: fs_config.awsAccessKeyId,
S3_SECRET_ACCESS_KEY: fs_config.awsSecretAccessKey.get_secret_value()
if fs_config.awsSecretAccessKey
Expand Down
1 change: 1 addition & 0 deletions ingestion/tests/unit/topology/database/test_iceberg.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@
"connection": {
"tableName": "table",
"awsConfig": {
"endPointURL": "http://example.com",
"awsAccessKeyId": "access_key",
"awsSecretAccessKey": "secret",
"awsRegion": "us-east-2",
Expand Down

0 comments on commit dccba20

Please sign in to comment.