dimas-b commented on code in PR #1004:
URL: https://github.com/apache/polaris/pull/1004#discussion_r1956302562
##########
site/content/in-dev/unreleased/entities.md:
##########
@@ -36,6 +36,28 @@ All catalogs in Polaris are associated with a _storage
type_. Valid Storage Type
For details on how to use Storage Types in the REST API, see [the API
docs]({{% github-polaris "regtests/client/python/docs/StorageConfigInfo.md"
%}}).
+For example, to create a catalog with a storage type of FILE:
+
+```shell
+export CLIENT_ID=<client-id>
+export CLIENT_SECRET=<client-secret>
+```
+
+you can create a catalog like so:
+
+```shell
+./polaris \
+ --client-id ${CLIENT_ID} \
+ --client-secret ${CLIENT_SECRET} \
+ catalogs \
+ create \
+ --storage-type file\
Review Comment:
This page talks about Polaris entities in general. I'm not sure it is the
best place for CLI examples.
Also, an example for catalog creation is already available at
https://polaris.apache.org/in-dev/unreleased/quickstart/#defining-a-catalog
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]