DESCRIBE CATALOG INTEGRATION¶
Describes the properties of a catalog integration.
DESCRIBE can be abbreviated to DESC.
Syntax¶
Parameters¶
nameSpecifies the identifier for the catalog integration to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
Output¶
The output of the command includes the following columns, which describe the properties and metadata of the object:
| Column | Description |
|---|---|
property | The name of the property. This column can include the properties listed in the following table. |
property_type | The property type. |
property_value | The value assigned to the property. |
property_default | The default property value. |
For AWS Glue, the output includes REST_CONFIG and REST_AUTHENTICATION property maps, which contain the
catalog ID (CATALOG_NAME), IAM role (SIGV4_IAM_ROLE), Region (SIGV4_SIGNING_REGION), and external ID
(SIGV4_EXTERNAL_ID).
The property column can include the following properties of catalog integration object:
| Property | Description |
|---|---|
enabled | Specifies whether the catalog integration is available to use for Apache Iceberg™ tables. |
catalog_source | The type of catalog source; for example, ICEBERG_REST, POLARIS, OBJECT_STORE, or GLUE. |
refresh_interval_seconds | Specifies the number of seconds that Snowflake waits between attempts to poll the external Iceberg catalog for metadata updates for automated refresh. |
rest_authentication | Specifies the REST authentication parameters for the catalog integration. |
rest_config | Specifies the REST configuration parameters for the catalog integration. |
catalog_namespace | The output for this column is as follows:
|
table_format | The table format supplied by the catalog; for example, ICEBERG. |
glue_aws_iam_user_arn | (AWS Glue) The ARN of the AWS IAM user created for your Snowflake account when you created the catalog integration. |
workload_identity_federation_issuer | (Workload identity federation) The issuer URL of Snowflake as the OIDC provider for the catalog integration. Give this value to the
remote service so that it can verify the |
workload_identity_federation_subject | (Workload identity federation) The identifier of the catalog integration as an OIDC client. Give this value to the remote service so
that it can verify the |
comment | The comment for the catalog integration. |
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
| Privilege | Object | Notes |
|---|---|---|
| USAGE | Integration (catalog) |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Usage notes¶
-
To post-process the output of this command, you can use the pipe operator (
->>) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.For example, you can use the pipe operator or RESULT_SCAN function to select specific columns from the SHOW command output or filter the rows.
When you refer to the output columns, use double-quoted identifiers for the column names. For example, to select the output column
type, specifySELECT "type".You must use double-quoted identifiers because the output column names for SHOW commands are in lowercase. The double quotes ensure that the column names in the SELECT list or WHERE clause match the column names in the SHOW command output that was scanned.
Examples¶
Describe a catalog integration:
The following shows the output of DESCRIBE CATALOG INTEGRATION for an AWS Glue catalog integration.
The IAM role, catalog ID, Region, and external ID appear inside the REST_CONFIG and
REST_AUTHENTICATION property maps.