Troubleshoot the SAP® BDC Connect for Snowflake Zero-Copy connector

This topic describes the most common problems with a Zero-Copy connector for SAP® BDC Connect for Snowflake and the catalog-linked databases created from it.

The connector doesn’t reach CONNECTED state

CONNECT runs in the background. If the connector goes to the CONNECT_ERROR state, the connection_error column of DESCRIBE ZEROCOPY CONNECTOR shows the reason. The most common cause is an invitation link that was already used, has expired, or was copied only in part. Get a new invitation link from SAP® BDC and run ALTER ZEROCOPY CONNECTOR … CONNECT again; you don’t need to drop and re-create the connector. If the tenant requires private connectivity, see SAP® BDC Connect for Snowflake Zero-Copy connector: Private connectivity.

A data product doesn’t appear in the list

SYSTEM$ZEROCOPY_CONNECTOR_LIST_SHARES returns the data products that SAP® BDC currently shares with the connector. If a data product is missing, check in SAP® BDC that it’s shared with the Snowflake account and the connector that you’re using. Descriptions in the list are the ones that SAP® BDC returns.

A new table doesn’t appear

New tables appear when discovery next runs, which for SAP® BDC is every 24 hours by default. To run discovery now, call SYSTEM$SYNC_ZEROCOPY_OBJECTS, or lower SYNC_INTERVAL_SECONDS with ALTER DATABASE … UPDATE LINKED_ZEROCOPY_CONNECTOR. For details, see Data freshness and refresh.

Data looks stale or incomplete

Snowflake doesn’t copy or filter the data of a data product; a query returns what SAP® BDC has committed. Check the table metadata refresh interval of the connector with SYSTEM$GET_ZEROCOPY_METADATA_AUTO_REFRESH_INTERVAL and lower it if you need fresher data. If SAP® BDC shows the same data, the data product itself is empty or incomplete. Dropping and re-creating the catalog-linked database doesn’t change the data, and it removes the grants on the database and its objects.

The semantic view is missing or out of date

The semantic view is built in the background shortly after the catalog-linked database is created, so it can appear a few minutes after the database. It is built from the CSN of the data product, and it isn’t rebuilt automatically when the CSN changes. A column that is in a table but not in the CSN doesn’t appear in the view. Correct the CSN in SAP® Business Data Cloud if needed, and then call SYSTEM$ZEROCOPY_REFRESH_SEMANTIC_VIEW.

Granting objects to a share for publishing fails

Tables, schemas, and the database that you grant to a share associated with the connector must meet the share back requirements, such as copy-on-write and the COMPATIBLE storage serialization policy on the database, schema, and table. The error message names the object and the setting. See Publish Data from Snowflake to SAP® BDC Connect for Snowflake.

Access fails after an ownership change

The role that owns a catalog-linked database must have the USAGE privilege on the connector, and must also own the objects in the database. If you transferred ownership of the database, grant USAGE on the connector to the new owner and transfer ownership of the objects in the database as well. See Transfer ownership of a catalog-linked database.