You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/data-visualization/astrato-and-clickhouse.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ import astrato_5a_clickhouse_build_chart from '@site/static/images/integrations/
18
18
import astrato_5b_clickhouse_view_sql from '@site/static/images/integrations/data-visualization/astrato_5b_clickhouse_view_sql.png';
19
19
import astrato_5c_clickhouse_complete_dashboard from '@site/static/images/integrations/data-visualization/astrato_5c_clickhouse_complete_dashboard.png';
20
20
import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.mdx';
21
+
import Image from '@theme/IdealImage';
21
22
22
23
# Connecting Astrato to ClickHouse
23
24
@@ -35,27 +36,26 @@ When setting up your data connection, you'll need to know:
35
36
36
37
## Creating the data connection to ClickHouse {#creating-the-data-connection-to-clickhouse}
37
38
38
-
- Select **Data** in the sidebar, and select the **Data Connection** tab
39
+
- Select **Data** in the sidebar, and select the **Data Connection** tab
39
40
(or, navigate to this link: https://app.astrato.io/data/sources)
40
41
41
42
- Click on the **New Data Connection** button in the top right side of the screen.
42
43
43
-
<img src={astrato_1_dataconnection} class="image" alt="Astrato Data Connection" style={{width:'50%', 'background-color': 'transparent'}}/>
44
+
<Imageimg={astrato_1_dataconnection}class="image"alt="Astrato Data Connection"size="sm"/>
44
45
45
-
<br/>
46
+
- Select **ClickHouse**.
46
47
47
-
- Select **ClickHouse**.
48
-
<img src={astrato_2a_clickhouse_connection} class="image" alt="Astrato ClickHouse Data Connection" style={{width:'50%', 'background-color': 'transparent'}}/>
48
+
<Imageimg={astrato_2a_clickhouse_connection}class="image"alt="Astrato ClickHouse Data Connection"size="sm"/>
49
49
50
-
- Complete the required fields in the connection dialogue box
50
+
- Complete the required fields in the connection dialogue box
<Imageimg={astrato_2b_clickhouse_connection}class="image"alt="Astrato connect to ClickHouse required fields"size="sm"/>
53
53
54
54
- Click **Test Connection**. If the connection is successful, give the data connection a **name** and click **Next.**
55
55
56
-
- Set the **user access** to the data connection and click **connect.**
57
-
58
-
<img src={astrato_3_user_access} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'50%', 'background-color': 'transparent'}}/>
56
+
- Set the **user access** to the data connection and click **connect.**
57
+
58
+
<Imageimg={astrato_3_user_access}alt="Astrato connect to ClickHouse User Access"size="md"/>
59
59
60
60
- A connection is created and a dataview is created.
61
61
@@ -67,19 +67,17 @@ if a duplicate is created, a timestamp is added to the data source name.
67
67
68
68
In our Data View editor, you will see all of your Tables and Schemas in ClickHouse, select some to get started.
69
69
70
-
<img src={astrato_4a_clickhouse_data_view} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/>
71
-
<br/>
70
+
<Imageimg={astrato_4a_clickhouse_data_view}alt="Astrato connect to ClickHouse User Access"size="lg"/>
72
71
73
72
Now that you have your data selected, go to define the **data view**. Click define on the top right of the webpage.
74
73
75
-
In here, you are able to join data, as well as, **create governed dimensions and measures** - ideal for driving consistency in business logic across various teams.
74
+
In here, you are able to join data, as well as, **create governed dimensions and measures** - ideal for driving consistency in business logic across various teams.
76
75
77
-
<img src={astrato_4b_clickhouse_data_view_joins} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/>
78
-
<br/>
76
+
<Imageimg={astrato_4b_clickhouse_data_view_joins}alt="Astrato connect to ClickHouse User Access"size="lg"/>
79
77
80
78
**Astrato intelligently suggests joins** using your meta data, including leveraging the keys in ClickHouse. Our suggested joins make it easy for you to gets started, working from your well-governed ClickHouse data, without reinventing the wheel. We also show you **join quality** so that you have the option to review all suggestions, in detail, from Astrato.
81
-
<br/>
82
-
<img src={astrato_4c_clickhouse_completed_data_view} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/><br/>
79
+
80
+
<Imageimg={astrato_4c_clickhouse_completed_data_view}alt="Astrato connect to ClickHouse User Access"size="lg"/>
83
81
84
82
## Creating a dashboard {#creating-a-dashboard}
85
83
@@ -89,18 +87,18 @@ In just a few steps, you can build your first chart in Astrato.
89
87
3. Add dimension(s)
90
88
4. Add measure(s)
91
89
92
-
<img src={astrato_5a_clickhouse_build_chart} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/><br/>
90
+
<Imageimg={astrato_5a_clickhouse_build_chart}alt="Astrato connect to ClickHouse User Access"size="lg"/>
93
91
94
92
95
93
### View generated SQL supporting each visualization {#view-generated-sql-supporting-each-visualization}
96
94
97
95
Transparency and accuracy are at the heart of Astrato. We ensure that every query generated is visible, letting you keep full control. All compute happens directly in ClickHouse, taking advantage of its speed while maintaining robust security and governance.
98
96
99
-
<img src={astrato_5b_clickhouse_view_sql} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/><br/>
97
+
<Imageimg={astrato_5b_clickhouse_view_sql}alt="Astrato connect to ClickHouse User Access"size="lg"/>
100
98
101
99
102
100
### Example completed dashboard {#example-completed-dashboard}
103
101
104
102
A beautiful complete dashboard or data app isn't far away now. To see more of what we've built, head to our demo gallery on our website. https://astrato.io/gallery
105
103
106
-
<img src={astrato_5c_clickhouse_complete_dashboard} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/>
104
+
<Imageimg={astrato_5c_clickhouse_complete_dashboard}alt="Astrato connect to ClickHouse User Access"size="lg"/>
Copy file name to clipboardExpand all lines: docs/integrations/data-visualization/deepnote.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ title: 'Connect ClickHouse to Deepnote'
10
10
import deepnote_01 from '@site/static/images/integrations/data-visualization/deepnote_01.png';
11
11
import deepnote_02 from '@site/static/images/integrations/data-visualization/deepnote_02.png';
12
12
import deepnote_03 from '@site/static/images/integrations/data-visualization/deepnote_03.png';
13
+
import Image from '@theme/IdealImage';
13
14
14
15
import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.mdx';
15
16
@@ -22,29 +23,28 @@ This guide assumes you already have a Deepnote account and that you have a runni
22
23
## Interactive example {#interactive-example}
23
24
If you would like to explore an interactive example of querying ClickHouse from Deepnote data notebooks, click the button below to launch a template project connected to the [ClickHouse playground](../../getting-started/playground.md).
**_NOTE:_** If your connection to ClickHouse is protected with an IP Access List, you might need to allow Deepnote's IP addresses. Read more about it in [Deepnote's docs](https://docs.deepnote.com/integrations/authorize-connections-from-deepnote-ip-addresses).
40
+
39
41
3. Congratulations! You have now integrated ClickHouse into Deepnote.
40
42
41
43
## Using ClickHouse integration. {#using-clickhouse-integration}
42
44
43
45
1. Start by connecting to the ClickHouse integration on the right of your notebook.
2. Now create a new ClickHouse query block and query your database. The query results will be saved as a DataFrame and stored in the variable specified in the SQL block.
48
50
3. You can also convert any existing [SQL block](https://docs.deepnote.com/features/sql-cells) to a ClickHouse block.
0 commit comments