From 1d91f0a63ba0df6c4f1531332ee856aa5475c6c8 Mon Sep 17 00:00:00 2001 From: Yong Date: Wed, 2 Jul 2025 15:22:33 -0500 Subject: [PATCH 1/2] Fix doc for catalog update --- site/content/in-dev/unreleased/command-line-interface.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/content/in-dev/unreleased/command-line-interface.md b/site/content/in-dev/unreleased/command-line-interface.md index cb0d11298d..b328461e98 100644 --- a/site/content/in-dev/unreleased/command-line-interface.md +++ b/site/content/in-dev/unreleased/command-line-interface.md @@ -251,9 +251,11 @@ input: polaris catalogs update --help options: update Named arguments: - --default-base-location (Required) Default base location of the catalog + --default-base-location A new default base location for the catalog --allowed-location An allowed location for files tracked by the catalog. Multiple locations can be provided by specifying this option more than once. - --property A key/value pair such as: tag=value. Multiple can be provided by specifying this option more than once + --region (Only for S3) The region to use when connecting to S3 + --set-property A key/value pair such as: tag=value. Merges the specified key/value into an existing properties map by updating the value if the key already exists or creating a new entry if not. Multiple can be provided by specifying this option more than once + --remove-property A key to remove from a properties map. If the key already does not exist then no action is takn for the specified key. If properties are also being set in the same update command then the list of removals is applied last. Multiple can be provided by specifying this option more than once Positional arguments: catalog ``` From 7631d51bbe593f52ff082af226fbe51c90725bd8 Mon Sep 17 00:00:00 2001 From: Yong Date: Wed, 2 Jul 2025 15:35:46 -0500 Subject: [PATCH 2/2] Fix doc for update --- site/content/in-dev/unreleased/command-line-interface.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/site/content/in-dev/unreleased/command-line-interface.md b/site/content/in-dev/unreleased/command-line-interface.md index b328461e98..3cd06713e1 100644 --- a/site/content/in-dev/unreleased/command-line-interface.md +++ b/site/content/in-dev/unreleased/command-line-interface.md @@ -384,7 +384,8 @@ input: polaris principals update --help options: update Named arguments: - --property A key/value pair such as: tag=value. Multiple can be provided by specifying this option more than once + --set-property A key/value pair such as: tag=value. Merges the specified key/value into an existing properties map by updating the value if the key already exists or creating a new entry if not. Multiple can be provided by specifying this option more than once + --remove-property A key to remove from a properties map. If the key already does not exist then no action is takn for the specified key. If properties are also being set in the same update command then the list of removals is applied last. Multiple can be provided by specifying this option more than once Positional arguments: principal ``` @@ -523,7 +524,8 @@ input: polaris principal-roles update --help options: update Named arguments: - --property A key/value pair such as: tag=value. Multiple can be provided by specifying this option more than once + --set-property A key/value pair such as: tag=value. Merges the specified key/value into an existing properties map by updating the value if the key already exists or creating a new entry if not. Multiple can be provided by specifying this option more than once + --remove-property A key to remove from a properties map. If the key already does not exist then no action is takn for the specified key. If properties are also being set in the same update command then the list of removals is applied last. Multiple can be provided by specifying this option more than once Positional arguments: principal_role ``` @@ -693,7 +695,8 @@ options: update Named arguments: --catalog The name of an existing catalog - --property A key/value pair such as: tag=value. Multiple can be provided by specifying this option more than once + --set-property A key/value pair such as: tag=value. Merges the specified key/value into an existing properties map by updating the value if the key already exists or creating a new entry if not. Multiple can be provided by specifying this option more than once + --remove-property A key to remove from a properties map. If the key already does not exist then no action is takn for the specified key. If properties are also being set in the same update command then the list of removals is applied last. Multiple can be provided by specifying this option more than once Positional arguments: catalog_role ```