For the complete documentation index, see llms.txt.

Databricks

Dernière mise à jour Voir en Markdown

The Data Connect integration with Databricks automatically syncs your Contentsquare data to a Databricks account on AWS or Azure that uses Unity Catalog.

Before setting up the Databricks integration, ensure you have:

  • Access is required to a Databricks account hosted on either AWS or Azure that uses Unity Catalog.

  • One of the following credentials:

  • The user or service principal must have the following privileges:

    • CREATE TABLE on the target schema
    • MODIFY on tables
    • SELECT on tables
  • If your Databricks workspace uses serverless compute with a network policy set to Restricted access to specific destinations, add the following S3 buckets as Allowed Storage Destinations:

    s3://heap-background-materializer
    s3://heap-databricks
    s3://heap-identity-api-export
  1. Log in to Contentsquare.

  2. Navigate to Analysis setup > Data Connect.

  3. Select Connect next to Databricks.

  4. Provide the following information:

    • Hostname: The ID of your Databricks account, which you can find in the account URL.
    • Path: The path of the warehouse you are connecting via this integration.
    • Catalog: The catalog that this data should sync to; if left blank, this integration will create a new catalog.
    • Schema (optional): The schema that this data should sync to; if left blank, this integration will create a new schema.
    • Authentication Method: Select how Data Connect authenticates with Databricks:
      • Personal Access Token (PAT):
        • Token: This is required to allow Data Connect to write to the schema. The token must be a Personal Access Token (PAT) rather than an OAuth token.
      • OAuth (Client ID and Secret):
        • Client ID: The client ID of your Databricks service principal.
        • Client Secret: The client secret of your Databricks service principal. This is required to allow Data Connect to write to the schema. The credentials must belong to a Databricks service principal (OAuth M2M), not to a Personal Access Token.
  5. Select Next.

Once setup is complete, you'll see a sync within 24 hours with the following built-in tables:

  • Pageviews
  • Sessions
  • Users
  • user_migrations
  • Segment syncing is not supported.