|
| 1 | +### Dremio connection profile |
| 2 | + |
| 3 | +After installing Elementary's dbt package upon running `dbt deps`, |
| 4 | +you can generate Elementary's profile for usage with `edr` by running the following command within your project: |
| 5 | + |
| 6 | +```shell |
| 7 | +dbt run-operation elementary.generate_elementary_cli_profile |
| 8 | +``` |
| 9 | + |
| 10 | +The command will print to the terminal a partially filled template of the profile that's needed for `edr` to work. |
| 11 | + |
| 12 | + |
| 13 | +<Tabs> |
| 14 | + <Tab title="Dremio Cloud"> |
| 15 | +```yml |
| 16 | +## DREMIO CLOUD ## |
| 17 | +## By default, edr expects the profile name 'elementary'. ## |
| 18 | +## Configure the database and schema of elementary models. ## |
| 19 | +## Check where 'elementary_test_results' is to find it. ## |
| 20 | + |
| 21 | +elementary: |
| 22 | + outputs: |
| 23 | + default: |
| 24 | + type: dremio |
| 25 | + cloud_host: api.dremio.cloud # or api.eu.dremio.cloud for EU |
| 26 | + cloud_project_id: [project ID] |
| 27 | + user: [email address] |
| 28 | + pat: [personal access token] |
| 29 | + use_ssl: true |
| 30 | + object_storage_source: [name] # alias: datalake |
| 31 | + object_storage_path: [path] # alias: root_path |
| 32 | + dremio_space: [name] # alias: database |
| 33 | + dremio_space_folder: [path] # alias: schema, usually [schema]_elementary |
| 34 | + threads: [1 or more] |
| 35 | +``` |
| 36 | + </Tab> |
| 37 | + <Tab title="Dremio Software"> |
| 38 | +```yml |
| 39 | +## DREMIO SOFTWARE ## |
| 40 | +## By default, edr expects the profile name 'elementary'. ## |
| 41 | +## Configure the database and schema of elementary models. ## |
| 42 | +## Check where 'elementary_test_results' is to find it. ## |
| 43 | + |
| 44 | +elementary: |
| 45 | + outputs: |
| 46 | + default: |
| 47 | + type: dremio |
| 48 | + software_host: [hostname or IP address] |
| 49 | + port: 9047 |
| 50 | + user: [username] |
| 51 | + password: [password] # or use pat: [personal access token] |
| 52 | + use_ssl: [true or false] |
| 53 | + object_storage_source: [name] # alias: datalake |
| 54 | + object_storage_path: [path] # alias: root_path |
| 55 | + dremio_space: [name] # alias: database |
| 56 | + dremio_space_folder: [path] # alias: schema, usually [schema]_elementary |
| 57 | + threads: [1 or more] |
| 58 | +``` |
| 59 | + </Tab> |
| 60 | +</Tabs> |
| 61 | +
|
| 62 | +We support the same format and connection methods as dbt. Please refer to |
| 63 | +dbt's documentation of [Dremio profile](https://docs.getdbt.com/docs/core/connect-data-platform/dremio-setup) for |
| 64 | +further details. |
0 commit comments