-
Notifications
You must be signed in to change notification settings - Fork 333
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Role ARN has been made optional for S3 storage by #2339, but some validation remained in Python CLI code that prevents creating catalog e.g. on MinIO using CLI. Thus MinIO usage example from Getting Started docs section does not work
To Reproduce
Follow command example from https://polaris.apache.org/in-dev/unreleased/getting-started/creating-a-catalog/s3/catalog-minio/, i.e.:
CLIENT_ID=root
CLIENT_SECRET=s3cr3t
DEFAULT_BASE_LOCATION=s3://example-bucket/my_data
REGION=us-west-2
./polaris \
--client-id ${CLIENT_ID} \
--client-secret ${CLIENT_SECRET} \
catalogs \
create \
--storage-type s3 \
--endpoint http://127.0.0.1:9100 \
--default-base-location ${DEFAULT_BASE_LOCATION} \
--region ${REGION} \
quickstart_catalog
Actual Behavior
Exception when communicating with the Polaris server. 1 validation error for AwsStorageConfigInfo
role_arn
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Expected Behavior
Catalog should be created
Additional context
No response
System information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working