DOCUMENTATION
/
Getting Started
Guides
Developer
Reference
Releases
Tutorials
Snowflake Open Catalog
Status
  1. Overview
    • Snowflake Horizon Catalog
      • Applications and tools for connecting to Snowflake
      • Virtual warehouses
      • Databases, Tables, & Views
      • Data types
        • Data Integration
          1. Snowflake Openflow
            1. About Openflow
              • Understanding Openflow costs
                • Set up Openflow
                  • Connect your data sources using Openflow connectors
                    1. About Openflow connectors
                      • Openflow Connector for Amazon Ads
                        1. About the connector
                          • Set up the connector
                          • Openflow Connector for Box
                            1. About the connector
                              • Set up the connector
                              • Openflow Connector for Excel
                                1. About the connector
                                  • Set up the connector
                                  • Openflow Connector for Google Ads
                                    1. About the connector
                                      • Set up the connector
                                      • Openflow Connector for Google Drive
                                        1. About the connector
                                          • Set up the connector
                                          • Openflow Connector for Google Sheets
                                            1. About the connector
                                              • Set up the connector
                                              • Openflow Connector for HubSpot
                                                1. About the connector
                                                  • Set up the connector
                                                  • Openflow Connector for Jira Cloud
                                                    1. About the connector
                                                      • Set up the connector
                                                      • Openflow Connector for Kafka
                                                        1. About the connector
                                                          • Set up the connector
                                                          • Openflow Connector for Snowflake to Kafka
                                                            1. About the connector
                                                              • Set up the connector
                                                              • Openflow Connector for Kinesis
                                                                1. About the connector
                                                                  • Set up the connector
                                                                  • Openflow Connector for LinkedIn Ads
                                                                    1. About the connector
                                                                      • Set up the connector
                                                                      • Openflow Connector for Meta Ads
                                                                        1. About the connector
                                                                          • Set up the connector
                                                                          • Openflow Connector for Microsoft Dataverse
                                                                            1. About the connector
                                                                              • Set up the connector
                                                                              • Openflow Connector for MySQL
                                                                                1. About the connector
                                                                                  • Set up the connector
                                                                                  • Openflow Connector for PostgreSQL
                                                                                    1. About the connector
                                                                                      • Set up the connector
                                                                                      • Openflow Connector for SharePoint
                                                                                        1. About the connector
                                                                                          • Set up the connector
                                                                                          • Openflow Connector for Slack
                                                                                            1. About the connector
                                                                                              • Set up the connector
                                                                                              • Openflow Connector for SQL Server
                                                                                                1. About the connector
                                                                                                  • Set up the connector
                                                                                                  • Openflow Connector for Workday
                                                                                                    1. About the connector
                                                                                                      • Set up the connector
                                                                                                    2. Manage Openflow
                                                                                                      • Monitor Openflow
                                                                                                        • Troubleshoot Openflow
                                                                                                          • Processors
                                                                                                            • Controllers
                                                                                                          • Data Loading
                                                                                                          • Dynamic Tables
                                                                                                          • Streams and Tasks
                                                                                                          • Data Unloading
                                                                                                          • Migration Tools
                                                                                                          • Queries
                                                                                                          • Listings
                                                                                                          • Collaboration
                                                                                                          • Snowflake AI & ML
                                                                                                          • Alerts & Notifications
                                                                                                          • Security
                                                                                                          • Data Governance
                                                                                                          • Privacy
                                                                                                          • Organizations & Accounts
                                                                                                          • Business continuity & data recovery
                                                                                                          • Performance Optimization
                                                                                                          • Cost & Billing

                                                                                                          SYSTEM$CATALOG_LINK_STATUS¶

                                                                                                          Snowflake logo in black (no text) Preview Feature — Private

                                                                                                          Support for this feature is currently not in production and is available only to selected accounts.

                                                                                                          Returns the link status for a specified catalog-linked database.

                                                                                                          See also:

                                                                                                          Use a catalog-linked database for Apache Icebergâ„¢ tables

                                                                                                          Syntax¶

                                                                                                          SYSTEM$CATALOG_LINK_STATUS( '<catalog_linked_db_name>' )
                                                                                                          
                                                                                                          Copy

                                                                                                          Required arguments¶

                                                                                                          'catalog_linked_db_name'

                                                                                                          Specifies the name of the catalog-linked database that you want to check the status of.

                                                                                                          Returns¶

                                                                                                          The function returns a JSON object containing the following name/value pairs:

                                                                                                          {
                                                                                                            "executionState":"<value>",
                                                                                                            "failedExecutionStateReason":"<value>",
                                                                                                            "failedExecutionStateErrorCode":"<value>",
                                                                                                            "lastLinkAttemptStartTime":"<value>",
                                                                                                            "failureDetails":[
                                                                                                              {
                                                                                                                "qualifiedEntityName":"<value>",
                                                                                                                "entityDomain":"<value>",
                                                                                                                "operation":"<value>",
                                                                                                                "errorCode":"<value>",
                                                                                                                "errorMessage":"<value>"
                                                                                                              },
                                                                                                              { ... },
                                                                                                              ...
                                                                                                            ]
                                                                                                          }
                                                                                                          
                                                                                                          Copy

                                                                                                          Where:

                                                                                                          executionState

                                                                                                          Current execution state of the linking operation that Snowflake uses to connect to your Iceberg catalog.

                                                                                                          Values:

                                                                                                          • RUNNING: The next table discovery sync is scheduled or executing; does not guarantee that all tables have successfully synced.

                                                                                                          • FAILED: Linking operation encountered an error and was unsuccessful.

                                                                                                          Usage notes¶

                                                                                                          Returns results as long as you use a role with a privilege on the specified catalog-linked database. For more information, see Database privileges.

                                                                                                          Examples¶

                                                                                                          Retrieve the link status for a catalog-linked database named my_cld:

                                                                                                          SELECT SYSTEM$CATALOG_LINK_STATUS('my_cld');
                                                                                                          
                                                                                                          Copy

                                                                                                          Output:

                                                                                                          {
                                                                                                            "executionState": "RUNNING",
                                                                                                            "lastLinkAttemptStartTime": "2025-02-14T01:35:01.71Z",
                                                                                                            "failureDetails": [
                                                                                                              {
                                                                                                                "qualifiedEntityName": "my_namespace.table_1",
                                                                                                                "entityDomain": "TABLE",
                                                                                                                "operation": "CREATE",
                                                                                                                "errorCode": "0040000",
                                                                                                                "errorMessage": "An internal error occurred. Please contact Snowflake support."
                                                                                                              },
                                                                                                              {
                                                                                                                "qualifiedEntityName": "my_namespace.table_2",
                                                                                                                "entityDomain": "TABLE",
                                                                                                                "operation": "CREATE",
                                                                                                                "errorCode": "0040000",
                                                                                                                "errorMessage": "An internal error occurred. Please contact Snowflake support."
                                                                                                              }
                                                                                                            ]
                                                                                                          }
                                                                                                          

                                                                                                          Was this page helpful?

                                                                                                          Visit Snowflake
                                                                                                          Join the conversation
                                                                                                          Develop with Snowflake
                                                                                                          Share your feedback
                                                                                                          Read the latest on our blog
                                                                                                          Get your own certification
                                                                                                          Privacy NoticeSite Terms© 2025 Snowflake, Inc. All Rights Reserved.
                                                                                                          1. Syntax
                                                                                                          2. Required arguments
                                                                                                          3. Returns
                                                                                                          4. Usage notes
                                                                                                          5. Examples
                                                                                                          1. Apache Icebergâ„¢ tables
                                                                                                          2. Use a catalog-linked database for Apache Icebergâ„¢ tables
                                                                                                          3. CREATE DATABASE (catalog-linked)
                                                                                                          Language: English
                                                                                                          • English
                                                                                                          • Français
                                                                                                          • Deutsch
                                                                                                          • 日本語
                                                                                                          • 한국어
                                                                                                          • Português