mlsstart commented on code in PR #1004:
URL: https://github.com/apache/polaris/pull/1004#discussion_r1957030966
##########
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:
Yes, there is an example of creating a catalog with the storage type of s3
in the above link, but there is no example of creating a catalog with the
storage type of file. It would be more convenient for beginners if a clear
example of creating a catalog with the file storage type was provided. I also
made some trial - and - error attempts during my usage, so providing this file
storage type example can facilitate more people to use it directly.
--
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]