On this page

    Connecting Dremio Sonar to Arctic preview

    To use Dremio Sonar with Arctic, you need to connect a Nessie source in the Sonar project.

    Prerequisites

    Before you can connect to a Nessie source, ensure you have the following resources available:

    • An Arctic-enabled project, which hosts the Nessie repository. If you do not have an Arctic-enabled project, see Adding an Arctic-enabled Project.
    • A Sonar project, which will connect to the Nessie repository. If you want to create a new Sonar project, see Adding a Project.
    • A personal access token. If you have not created a personal access token, see Personal Access Tokens for information about how Dremio uses these tokens and how to generate one. You will need to enter this token ID when you connect to a Nessie source.

    You will also need admin access to an Amazon S3 bucket when creating tables (CREATE TABLE). Sonar will use its Project Store by default, but a user can also provide a LOCATION in the CREATE TABLE statement. The Arctic data optimization service writes metadata and data to the table’s existing LOCATION.

    Connecting a Nessie Source to Sonar

    To use Dremio Sonar with Arctic, you need to connect a Sonar project to a Nessie source.

    To add a Nessie source:

    1. Select a Sonar project in which you want to connect to a Nessie source.

    2. From the Datasets pane, Nessie Repositories section, click the Add Nessie (plus) icon.

    3. On the Add Nessie dialog box, click Nessie (Preview).

    4. On the New Nessie (Preview) Source dialog box > General tab:

      1. Enter a name for the Nessie source.

      2. Under Nessie Repository, either select Custom Repository to create a new source or, if available, select an existing one.

      3. Under Nessie Endpoint, paste the endpoint that you recorded earlier.

      4. Under Nessie Access Token, enter the personal access token that you generated earlier.

    5. Next, select the Storage tab.

    6. On the Storage page:

      1. Under S3 Authentication, you can choose Project Data Credentials or enter your own Data Source Credentials. For information about setting up the Authentication Method, see Amazon S3 Authentication Options for Nessie.

      2. Under Default Storage Location, enter the root path to your S3 bucket.

        When creating new tables in Arctic, this is the default location where tables will be created when you do not specify a LOCATION attribute in a CREATE TABLE statement. Example root path: bucket-name/optional/folder/path.

    7. Click Save.

    Amazon S3 Authentication for Nessie

    For Authentication, select one of the following options.

    Authentication OptionDescriptionConfiguration Steps
    Project Data CredentialsDefault credentials used to access all sources in your project. Added as part of your signup and project creation.Project Data Credentials with Access Key/IAM Role
    Data Source CredentialsCredentials to access a a specific source. Created as part of the source configuration.Data Source Credentials with Access Key
    Data Source CredentialsCredentials to access a specific source. Created as part of the source configuration. Project role/key assumes this role to access the source.Data Source Credentials with IAM Role