DESCRIBE ZEROCOPY CONNECTOR¶
Describes a Zero-Copy connector, including its state, partner configuration, and the catalog-linked databases and shares that are associated with it.
DESCRIBE can be abbreviated to DESC.
Syntax¶
Parameters¶
nameSpecifies the identifier for the connector 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.
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
| Privilege | Object | Notes |
|---|---|---|
| Any privilege (USAGE, OPERATE, MODIFY, MONITOR, or OWNERSHIP) | Zero-Copy connector |
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.
Output¶
The command returns one row with the following columns:
| Column | Description |
|---|---|
name | Name of the connector. |
partner | Data partner of the connector: SAP_BDC, SALESFORCE, or WORKDAY. |
config | JSON object with the non-secret configuration of the connector. Empty values are omitted. For the keys, see Keys in the config column. |
status | State of the connector: |
connection_error | Message that describes why the last connect or disconnect operation failed. Empty when there is no error. |
catalog_linked_databases | Comma-separated list of the catalog-linked databases that were created from the connector. The list includes only the databases that your role can see. |
share_back | Whether share back is enabled (true) or not (false). Share back applies only to SAP BDC connectors. |
shares | Comma-separated list of the shares that are associated with the connector for share back. The list includes only the shares that your role can see. |
database_name | Database in which the connector resides. |
schema_name | Schema in which the connector resides. |
owner | Role that owns the connector. |
owner_role_type | Type of the owner role. |
comment | Comment for the connector. |
created_on | Date and time when the connector was created. |
updated_on | Date and time when the connector was last updated. |
Keys in the config column¶
The config column contains a JSON object. The keys depend on the partner of the connector.
Keys without a value are omitted.
| Partner | Key | Description |
|---|---|---|
SAP_BDC | sap_bdc_connector_endpoint | SAP BDC connector endpoint that the invitation link identified. |
SAP_BDC | private_connectivity | Object that describes the private connectivity of the connector. Present only when the connector uses private connectivity. For more information, see SAP® BDC Connect for Snowflake Zero-Copy Connector: Private connectivity. |
SALESFORCE | salesforce_tenant_endpoint | Data Cloud API endpoint of your Salesforce tenant. |
SALESFORCE | salesforce_tenant_id | Identifier of your Salesforce tenant. |
WORKDAY | workday_tenant | Workday tenant name. |
WORKDAY | workday_domain | Workday services host. |
WORKDAY | workday_catalog_endpoint | Workday Data Cloud catalog host. |
WORKDAY | workday_client_id | Identifier of the Workday API client. |
For Workday connectors, the config column never contains the client secret or the refresh token.
For Salesforce connectors, the enrollment code isn’t part of config. To retrieve it, call the SYSTEM$GET_ZEROCOPY_CONNECTOR_CONFIG function.
Usage notes¶
- To check the progress of a connect or disconnect operation, run the command until
statusis no longerCONNECTINGorDISCONNECTING. If the operation fails, the reason appears in theconnection_errorcolumn.
Examples¶
Describe a connector:
Read the status and connection_error columns of the previous result: