GitHub user tokoko added a comment to the discussion: load_table endpoint
I don't think there is an example. but you need to have: - `polaris.features."RESOLVE_CREDENTIALS_BY_STORAGE_NAME"` set to true - `polaris.storage.aws.myStorage.access-key` and `polaris.storage.aws.myStorage.secret-key` set - set `storageName` in storageConfigInfo when creating a catalog. payload will look something like this, simply set `storageName` right next to `storageType`: ``` curl -X POST http://localhost:8181/api/management/v1/catalogs \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "catalog": { "name": "my_catalog", "type": "INTERNAL", "properties": { "default-base-location": "s3://example-bucket/my_data" }, "storageConfigInfo": { "storageType": "S3", "storageName": "myStorage", "allowedLocations": ["s3://example-bucket/"], "s3.endpoint": "http://127.0.0.1:9000", "s3.pathStyleAccess": true, "s3.roleArn": "arn:aws:iam::000000000000:role/example", "region": "us-east-1" } } }' ``` GitHub link: https://github.com/apache/polaris/discussions/4261#discussioncomment-16753717 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
