Skip to content

Commit 94d2d1c

Browse files
authored
Merge branch 'master' into add-s3-acl-to-cli
2 parents a65e7bf + ca841c0 commit 94d2d1c

File tree

76 files changed

+1539
-996
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1539
-996
lines changed

.github/workflows/remind-docs-and-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Remind docs and tests
22
on:
3-
pull_request:
3+
pull_request_target:
44
branches: ["master"]
55
jobs:
66
run:

.github/workflows/test-all-warehouses.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
dbt-version: ${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) || fromJSON('["1.3.0", null]') }}
28+
dbt-version: ${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) || fromJSON('["1.7.0", null]') }}
2929
warehouse-type:
3030
[
3131
postgres,
@@ -35,6 +35,7 @@ jobs:
3535
databricks,
3636
databricks_catalog,
3737
athena,
38+
clickhouse,
3839
]
3940
uses: ./.github/workflows/test-warehouse.yml
4041
with:

.github/workflows/test-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
databricks,
5656
databricks_catalog,
5757
athena,
58+
clickhouse,
5859
]
5960
needs: get-latest-release-tags
6061
uses: ./.github/workflows/test-warehouse.yml

.github/workflows/test-warehouse.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- databricks_catalog
1616
- spark
1717
- athena
18+
- clickhouse
1819
elementary-ref:
1920
type: string
2021
required: false

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ For additional information and help, you can use one of these channels:
9595
<a href="https://github.com/noaKurman"><img src="https://avatars.githubusercontent.com/u/16741969?v=4" width="50" height="50" alt=""/></a>
9696
<a href="https://github.com/NoyaArie"><img src="https://avatars.githubusercontent.com/u/31591071?v=4" width="50" height="50" alt=""/></a>
9797
<a href="https://github.com/ellakz"><img src="https://avatars.githubusercontent.com/u/18530437?v=4" width="50" height="50" alt=""/></a>
98+
<a href="https://github.com/NoyaOffer"><img src="https://avatars.githubusercontent.com/u/192613179?v=4" width="50" height="50" alt=""/></a>
99+
<a href="https://github.com/elazarlachkar"><img src="https://avatars.githubusercontent.com/u/62235929?v=4" width="50" height="50" alt=""/></a>
98100
<a href="https://github.com/ofek1weiss"><img src="https://avatars.githubusercontent.com/u/55920061?v=4" width="50" height="50" alt=""/></a>
99101
<a href="https://github.com/erikzaadi"><img src="https://avatars.githubusercontent.com/u/77775?v=4" width="50" height="50" alt=""/></a>
100102
<a href="https://github.com/dapollak"><img src="https://avatars.githubusercontent.com/u/13542197?v=4" width="50" height="50" alt=""/></a>
@@ -193,6 +195,10 @@ For additional information and help, you can use one of these channels:
193195
<a href="https://github.com/JanDintel"><img src="https://avatars.githubusercontent.com/u/3646888?v=4" width="50" height="50" alt=""/></a>
194196
<a href="https://github.com/kokorin"><img src="https://avatars.githubusercontent.com/u/1089148?v=4" width="50" height="50" alt=""/></a>
195197
<a href="https://github.com/slaupster"><img src="https://avatars.githubusercontent.com/u/9283885?v=4" width="50" height="50" alt=""/></a>
198+
<a href="https://github.com/talperetz1"><img src="https://avatars.githubusercontent.com/u/82938736?v=4" width="50" height="50" alt=""/></a>
199+
<a href="https://github.com/nkmr-jp"><img src="https://avatars.githubusercontent.com/u/8490118?v=4" width="50" height="50" alt=""/></a>
200+
<a href="https://github.com/dbt-markwan"><img src="https://avatars.githubusercontent.com/u/114556261?v=4" width="50" height="50" alt=""/></a>
201+
<a href="https://github.com/pedro-klein-ext-bayer"><img src="https://avatars.githubusercontent.com/u/181362556?v=4" width="50" height="50" alt=""/></a>
196202

197203

198204
<!-- markdownlint-restore -->
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
You will connect Elementary Cloud to Clickhouse for syncing the Elementary schema (created by the [Elementary dbt package](/cloud/onboarding/quickstart-dbt-package)).
2+
3+
<Snippet file="cloud/integrations/create-user-operation.mdx" />
4+
5+
### Fill the connection form
6+
7+
Provide the following fields:
8+
9+
- **Host**: The hostname of your Clickhouse account to connect to. This can either be a hostname or an IP address.
10+
- **Port**: The port of your Clickhouse account to connect to.
11+
- **Elementary schema**: The name of your Elementary schema. Usually `[schema name]_elementary`.
12+
- **User**: The name of the for Elementary user.
13+
- **Password**: The password associated with the provided user.
14+
15+
<Snippet file="cloud/integrations/ip-allowlist.mdx" />

docs/_snippets/install-cli.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pip install 'elementary-data[redshift]'
1515
pip install 'elementary-data[databricks]'
1616
pip install 'elementary-data[athena]'
1717
pip install 'elementary-data[trino]'
18+
pip install 'elementary-data[clickhouse]'
1819
## Postgres doesn't require this step
1920
```
2021

docs/_snippets/oss/adapters-cards.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,19 @@
245245
<path d="m84 26.19-4.39-2.19v36.69l4.39-.8z" fill="#f58534" />
246246
</svg>
247247
}
248+
></Card>
249+
<Card
250+
title="dbt-clickhouse"
251+
icon={
252+
<svg
253+
height="40"
254+
viewBox="15 15 100 100"
255+
width="40"
256+
xmlns="http://www.w3.org/2000/svg"
257+
>
258+
<path d="m0 7h1v1h-1z" fill="#f00"/><path d="m0 0h1v7h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 3.25h1v1.5h-1z" fill="#fc0"/>
259+
</svg>
260+
}
248261
></Card>
249262
<Card
250263
title="dbt-trino"

docs/_snippets/profiles/all-profiles.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,23 @@ elementary:
158158
# session_properties: [optional, sets Trino session properties used in the connection]
159159
```
160160

161+
```yml ClickHouse
162+
## CLICKHOUSE ##
163+
## By default, edr expects the profile name 'elementary'. ##
164+
## Configure the database and schema of elementary models. ##
165+
## Check where 'elementary_test_results' is to find it. ##
166+
167+
elementary:
168+
outputs:
169+
default:
170+
type: clickhouse
171+
host: [hostname]
172+
port: [port]
173+
user: [username]
174+
password: [password]
175+
secure: [True/False]
176+
verify: [True/False]
177+
schema: [schema name] # elementary schema, usually [schema name]_elementary
178+
```
179+
161180
</CodeGroup>

docs/_snippets/quickstart-package-install.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Some packages we recommend you check out: [dbt_utils](https://github.com/dbt-lab
3939
```yml packages.yml
4040
packages:
4141
- package: elementary-data/elementary
42-
version: 0.18.0
42+
version: 0.18.2
4343
## Docs: https://docs.elementary-data.com
4444
```
4545
</Step>

0 commit comments

Comments
 (0)