You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by yz...@apache.org on 2026/03/24 12:22:40 UTC

(polaris) branch main updated: Fix catalog command (#4047)

This is an automated email from the ASF dual-hosted git repository.

yzheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 30c800bf41 Fix catalog command (#4047)
30c800bf41 is described below

commit 30c800bf414c34cfc20dd2690129231eedbff997
Author: Yong Zheng <yo...@gmail.com>
AuthorDate: Tue Mar 24 07:22:34 2026 -0500

    Fix catalog command (#4047)
---
 client/python/apache_polaris/cli/command/catalogs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/python/apache_polaris/cli/command/catalogs.py b/client/python/apache_polaris/cli/command/catalogs.py
index cce4606bbe..0c5ad43576 100644
--- a/client/python/apache_polaris/cli/command/catalogs.py
+++ b/client/python/apache_polaris/cli/command/catalogs.py
@@ -156,7 +156,7 @@ class CatalogsCommand(Command):
                 elif self.catalog_authentication_type == AuthenticationType.SIGV4.value:
                     if not self.catalog_role_arn or not self.catalog_signing_region:
                         raise Exception(
-                            f"Authentication type 'SIGV4 requires"
+                            f"Authentication type 'SIGV4' requires"
                             f" {Argument.to_flag_name(Arguments.CATALOG_ROLE_ARN)}"
                             f" and {Argument.to_flag_name(Arguments.CATALOG_SIGNING_REGION)}"
                         )
@@ -338,7 +338,7 @@ class CatalogsCommand(Command):
             )
 
         service_identity = None
-        if self.catalog_service_identity_type == ServiceIdentityType.AWS_IAM:
+        if self.catalog_service_identity_type == ServiceIdentityType.AWS_IAM.value:
             service_identity = AwsIamServiceIdentityInfo(
                 identity_type=self.catalog_service_identity_type.upper(),
                 iam_arn=self.catalog_service_identity_iam_arn,