Skip to content

Commit 679a232

Browse files
fix: show both Dremio Cloud and Software profile options in CLI docs
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent 2f00505 commit 679a232

1 file changed

Lines changed: 38 additions & 9 deletions

File tree

docs/snippets/cli/dremio-cli.mdx

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,34 @@ dbt run-operation elementary.generate_elementary_cli_profile
99

1010
The command will print to the terminal a partially filled template of the profile that's needed for `edr` to work.
1111

12-
```yml Dremio
13-
## DREMIO ##
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 ##
1440
## By default, edr expects the profile name 'elementary'. ##
1541
## Configure the database and schema of elementary models. ##
1642
## Check where 'elementary_test_results' is to find it. ##
@@ -19,17 +45,20 @@ elementary:
1945
outputs:
2046
default:
2147
type: dremio
22-
software_host: [hostname]
23-
port: [port]
48+
software_host: [hostname or IP address]
49+
port: 9047
2450
user: [username]
25-
password: [password]
51+
password: [password] # or use pat: [personal access token]
2652
use_ssl: [true or false]
27-
datalake: [datalake source name]
28-
database: [database name]
29-
schema: [schema name] # elementary schema, usually [schema name]_elementary
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
3057
threads: [1 or more]
3158
```
59+
</Tab>
60+
</Tabs>
3261
3362
We support the same format and connection methods as dbt. Please refer to
34-
dbt's documentation of [Dremio profile](https://docs.getdbt.com/reference/warehouse-setups/dremio-setup) for
63+
dbt's documentation of [Dremio profile](https://docs.getdbt.com/docs/core/connect-data-platform/dremio-setup) for
3564
further details.

0 commit comments

Comments
 (0)