Creating a catalog on Google Cloud Storage (GCS)
For the polaris catalogs create command there are few gcs only options
1--storage-type gcs
2--service-account (Only for GCS) The service account to use when connecting to GCS
example🔗
1CLIENT_ID=root \
2CLIENT_SECRET=s3cr3t \
3DEFAULT_BASE_LOCATION=gs://my-ml-bucket/predictions/ \
4SERVICE_ACCOUNT=serviceAccount:my-service-account@my-project.iam.gserviceaccount.com \
5./polaris \
6 --client-id ${CLIENT_ID} \
7 --client-secret ${CLIENT_SECRET} \
8 catalogs \
9 create \
10 --storage-type gcs \
11 --service-account ${SERVICE_ACCOUNT} \
12 --default-base-location ${DEFAULT_BASE_LOCATION} \
13 my_gcs_catalog