Polaris Catalog

This quick-start guide shows you how to create a connection to Polaris Catalog.

Creating a Polaris connection is coming soon. Stay tuned for updates!

Create a connection to your Polaris Catalog

The following instructions demonstrate how to create a basic connection to Polaris Catalog.

Your connection is persistent, so you won't need to re-create it for every job. The connection is also shared with other users in your organization.

Here’s the code for creating a connection to Polaris Catalog:

//Syntax
CREATE ICEBERG_REST_CATALOG CONNECTION <connection_identifier> 
  URI = '<polaris_catalog_URI>'
  CLIENT_PROPERTIES = (warehouse = '<warehouse_name>', 
  CREDENTIAL = '<client_id>:<secret_key>',
  SCOPE='PRINCIPAL_ROLE:<principa_role_name>',
  <ANY_ADDITIONAL_PROPERTY> = 'property_vale')
  [ COMMENT = '<comment>' ];
  
//Example
CREATE ICEBERG_REST_CATALOG CONNECTION my_polaris_catalog
  URI = 'https://<account_locator>.snowflakecomputing.com/polaris/api/catalog'
  CLIENT_PROPERTIES = (warehouse = 'my_warehouse',
  credential = 'my_client_id:my_secret', 
  scope='PRINCIPAL_ROLE=ALL'); 

Last updated