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.

See also:

CREATE ZEROCOPY CONNECTOR , ALTER ZEROCOPY CONNECTOR , DROP ZEROCOPY CONNECTOR , SHOW ZEROCOPY CONNECTORS

Syntax

DESC[RIBE] ZEROCOPY CONNECTOR <name>

Parameters

name

Specifies 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:

PrivilegeObjectNotes
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:

ColumnDescription
nameName of the connector.
partnerData partner of the connector: SAP_BDC, SALESFORCE, or WORKDAY.
configJSON 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: NEW, CONNECTING, CONNECTED, CONNECT_ERROR, DISCONNECTING, DISCONNECTED, or DISCONNECT_ERROR. For the operations that each state allows, see ALTER ZEROCOPY CONNECTOR.

connection_errorMessage that describes why the last connect or disconnect operation failed. Empty when there is no error.
catalog_linked_databasesComma-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_backWhether share back is enabled (true) or not (false). Share back applies only to SAP BDC connectors.
sharesComma-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_nameDatabase in which the connector resides.
schema_nameSchema in which the connector resides.
ownerRole that owns the connector.
owner_role_typeType of the owner role.
commentComment for the connector.
created_onDate and time when the connector was created.
updated_onDate 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.

PartnerKeyDescription
SAP_BDCsap_bdc_connector_endpointSAP BDC connector endpoint that the invitation link identified.
SAP_BDCprivate_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.

SALESFORCEsalesforce_tenant_endpointData Cloud API endpoint of your Salesforce tenant.
SALESFORCEsalesforce_tenant_idIdentifier of your Salesforce tenant.
WORKDAYworkday_tenantWorkday tenant name.
WORKDAYworkday_domainWorkday services host.
WORKDAYworkday_catalog_endpointWorkday Data Cloud catalog host.
WORKDAYworkday_client_idIdentifier 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 status is no longer CONNECTING or DISCONNECTING. If the operation fails, the reason appears in the connection_error column.

Examples

Describe a connector:

DESC ZEROCOPY CONNECTOR my_db.my_schema.my_workday_connector;

Read the status and connection_error columns of the previous result:

SELECT "status", "connection_error"
  FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));