Instructions for Configuring Unity Catalog

Created by Matt Nolan, Modified on Tue, Jun 10 at 3:53 PM by Matt Nolan

  1. Open Stardog Studio
  2. Select Catalog from the database dropdown
  3. Update Sample #1 with the serverAddress and Token for the account you wish to use to access the unity catalog
    • Sample #1
      INSERT DATA { graph <tag:stardog:api:catalog:providers> {
          <urn:Unity_Catalog_Databricks> a <tag:stardog:api:catalog:DatabricksProvider> ;
              <tag:stardog:api:catalog:provider:serverAddress> "<example_endpoint_name.cloud.databricks.com:443>" ;
              <tag:stardog:api:catalog:provider:userName> "token" ;
              <tag:stardog:api:catalog:provider:password> "<Replace with Your Token Here>" ;
              <tag:stardog:api:catalog:provider:schedule> "0 0 0/12 ? * * *" .
      }}
  4. Once updated, execute the query to update the access configuration
  5. Open the catalog interface and verify that the connection is listed
  6. Execute Jobs Query to collect the logs for the catalog using Sample #2 Query. 
    • Sample #2
      select *  {
          graph <tag:stardog:api:catalog:jobs> {
              ?s <tag:stardog:api:catalog:message> ?o; stardog:catalog:completedAt ?o2 
          }
      }
      order by DESC(?o2)
  7. Send output.
  8. Update the model definition by executing Sample #3.
  9. Once complete the synchronization job will run at some interval. 
    • Use Sample #2 query to validate the operation. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article