DESCRIBE CATALOG INTEGRATION¶
Describes the properties of a catalog integration.
DESCRIBE can be abbreviated to DESC.
- See also:
CREATE CATALOG INTEGRATION , ALTER CATALOG INTEGRATION , DROP CATALOG INTEGRATION , SHOW CATALOG INTEGRATIONS
Syntax¶
DESC[RIBE] CATALOG INTEGRATION <name>
Parameters¶
name
Specifies 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 |
---|---|
|
The name of the property. This column can include the properties listed in the following table. |
|
The property type. |
|
The value assigned to the property. |
|
The default property value. |
The property
column can include the following properties of catalog integration object:
Property |
Description |
---|---|
|
Specifies whether the catalog integration is available to use for Apache Icebergâ„¢ tables. |
|
The type of catalog source; for example, |
|
(AWS Glue) Specifies the AWS Glue Data Catalog namespace. |
|
The table format supplied by the catalog; for example, |
|
(AWS Glue) The Amazon Resource Name (ARN) of the IAM role that Snowflake assumes to connect to AWS Glue. |
|
(AWS Glue) The ID of your AWS account. |
|
(AWS Glue) The AWS Region of your AWS Glue Data Catalog. |
|
(AWS Glue) The ARN of the AWS IAM user created for your Snowflake account when you created the catalog integration. |
|
(AWS Glue) The external ID that Snowflake uses to establish a trust relationship with AWS Glue. |
|
The comment for the catalog integration. |
Access control requirements¶
A role used to execute this SQL command 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 RESULT_SCAN function, which treats the output as a table that can be queried.
Examples¶
Describe a catalog integration:
DESC CATALOG INTEGRATION my_catalog_integration;
The following shows the output of DESCRIBE CATALOG INTEGRATION for an AWS Glue catalog integration.
The output includes AWS Glue-specific properties (for example, GLUE_AWS_ROLE_ARN
) and common catalog integration properties.
+-----------------------+---------------+----------------------------------+------------------+
| property | property_type | property_value | property_default |
+-----------------------+---------------+----------------------------------+------------------+
| ENABLED | Boolean | true | false |
| CATALOG_SOURCE | String | GLUE | |
| CATALOG_NAMESPACE | String | dbname | |
| TABLE_FORMAT | String | ICEBERG | |
| GLUE_AWS_ROLE_ARN | String | arn:aws:iam::123:role/dummy-role | |
| GLUE_CATALOG_ID | String | 123456789012 | |
| GLUE_REGION | String | us-west-2 | |
| GLUE_AWS_IAM_USER_ARN | String | arn:aws:iam::123:user/example | |
| GLUE_AWS_EXTERNAL_ID | String | exampleGlueExternalId | |
| COMMENT | String | | |
+-----------------------+---------------+----------------------------------+------------------+