SAP® BDC Connect for Snowflake Zerocopy Connector — Security and Privileges

This topic describes the privileges required to create and manage a Zerocopy Connector and the catalog-linked databases created from it.

Access Control Requirements

A role used to execute this operation must have the following privileges at a minimum:

PrivilegeObjectNotes
CREATE ZEROCOPY CONNECTORSchemaRequired to create a Zerocopy Connector. By default, the schema owner has this privilege.
OPERATEZerocopy ConnectorRequired to connect or disconnect (ALTER ... CONNECT / ALTER ... DISCONNECT) and to publish a data product (SYSTEM$SAP_PUBLISH_DATA_PRODUCT).
USAGEZerocopy ConnectorRequired to create a catalog-linked database from the connector (also requires CREATE DATABASE on the account) and to add or remove a share from the connector (also requires OWNERSHIP on the share).
MODIFYZerocopy ConnectorRequired to set or unset properties (comment, share_back, etc.).
MONITORZerocopy ConnectorAny privilege on the connector (e.g. MONITOR) is sufficient to describe the connector, show connectors, or list shares.
OWNERSHIPZerocopy ConnectorRequired to rename or drop the connector.
CREATE DATABASEAccountRequired to create a catalog-linked database from a Zerocopy Connector (also requires USAGE on the 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.

Connector States

A Zerocopy Connector transitions through the following states. Understanding the state is important because some operations are only permitted in specific states.

StateDescription
NEWInitial state after the connector is created. No connection has been attempted yet.
CONNECTINGA connection attempt is in progress. The connector enters this state immediately after ALTER ... CONNECT is issued.
CONNECTEDThe connection is established. Catalog-linked databases can only be created when the connector is in this state. Sharing data between Snowflake and SAP® BDC is only allowed when the connector is in this state.
CONNECT_ERRORThe connection attempt failed. The error message is persisted on the connector. You can retry the connection from this state.
DISCONNECTINGA disconnection is in progress. The connector enters this state immediately after ALTER ... DISCONNECT is issued.
DISCONNECTEDThe connection has been dropped. You can reconnect from this state.
DISCONNECT_ERRORThe disconnection attempt failed. The error message is persisted on the connector.
DELETEDThe connector has been dropped. This state is permanent — Zerocopy Connectors do not support UNDROP.

State Transition Rules

  • ALTER ... CONNECT is permitted when the connector is in NEW, CONNECT_ERROR, or DISCONNECTED state.
  • ALTER ... DISCONNECT is permitted when the connector is in CONNECTED or DISCONNECT_ERROR state.
  • Share-back must be disabled before disconnecting.
  • All catalog-linked databases created from the connector must be dropped before disconnecting.
  • DROP ZEROCOPY CONNECTOR is permitted when the connector is in NEW, CONNECT_ERROR, DISCONNECT_ERROR, or DISCONNECTED state.
  • Catalog-linked databases do not support UNDROP.