Skip to content

Commit 0affa91

Browse files
committed
feat(dwh): update
1 parent 0abc1f4 commit 0affa91

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

pages/data-warehouse/how-to/connect-bi-tools.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,17 @@ Your Data Warehouse for ClickHouse® is now integrated into your Metabase platfo
108108

109109
Refer to the official [ClickHouse®](https://clickhouse.com/docs/integrations/metabase) and [Metabase](https://www.metabase.com/docs/latest/databases/connections/clickhouse) documentation portals for more information.
110110

111-
## PowerBI
111+
## PowerBI Desktop
112112

113-
Power BI Desktop is a robust data visualization tool that allows users to create dynamic reports and dashboards from various data sources.
113+
Power BI Desktop is a robust data visualization tool that allows users to create dynamic reports and dashboards from various data sources.
114114

115115
<Message type="note">
116116
ODBC connection between PowerBI and Data Warehouse for ClickHouse® is currently not supported.
117117
</Message>
118118

119+
120+
0. Make sure you installed [PowerBI Desktop]https://www.microsoft.com/en-us/download/details.aspx?id=58494/), and [MySQL Connector/NET](https://dev.mysql.com/downloads/connector/net/).
121+
119122
1. Open PowerBI Desktop.
120123

121124
2. Click **Get Data** from the top ribbon, then select **More...** at the bottom of the drop-down menu. A pop-up displays.

pages/data-warehouse/how-to/import-data.mdx

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39,43 +39,40 @@ Scaleway Data Warehouse for ClickHouse® allows you to quickly import any type o
3939
--user scwadmin \
4040
--password '<YOUR_DEPLOYMENT_PASSWORD>'
4141
```
42-
42+
4343
6. You are now connected to your deployments using the ClickHouse® CLI, you can now import data.
4444

4545
<Message type="tip">
4646
You can connect to your deployment using the ClickHouse® HTTP console directly from the **Overview** tab.
4747
</Message>
4848

49-
### Importing data into your deployment
50-
51-
There are several ways to import data into your Data Warehouse for ClickHouse® deployment, depending on how your data is stored:
52-
53-
- Using the `s3` table function: directly read data from an Amazon S3 bucket by specifying the bucket URL, file format, and data structure.
54-
55-
- Using the `s3` Storage Engine: create a table that points to your S3 data, then insert data from the S3 table into your target table.
49+
### Importing data into your deployment from an Object Storage bucket
5650

57-
- Using `clickhouse-client`: execute an INSERT query to populate a table by specifying the bucket URL and the file format.
51+
There are several ways to import data into your Data Warehouse for ClickHouse® deployment, depending on how your data is stored. One of the most common ways is to import it from an Object Storage bucket in any format supported by ClickHouse®.
5852

5953
<Tabs id="import-data-into-data-warehouse">
6054
<TabsTab label="s3 table function">
61-
```sql
62-
INSERT INTO your_table
63-
SELECT *
64-
FROM s3('https://my-bucket.s3.scaleway.com/data/my_data.csv', 'CSV', 'column1 String, column2 Int32')
65-
```
55+
The `s3` table function reads data directly from an Object Storage bucket by specifying the URL of the bucket, the file format, and the data structure.
56+
```sql
57+
INSERT INTO your_table
58+
SELECT *
59+
FROM s3('https://my-bucket.s3.scaleway.com/data/my_data.csv', 'CSV', 'column1 String, column2 Int32')
60+
```
6661
</TabsTab>
6762
<TabsTab label="s3 storage engine">
63+
The `s3` Storage Engine creates a table that points to data table stored in an Object Storage bucket, then inserts data from the bucket table into the target table in your Data Warehouse for ClickHouse® deployment.
6864
```sql
6965
CREATE TABLE your_table_s3
70-
ENGINE = S3('https://my-bucket.s3.amazonaws.com/data/my_data.csv', 'CSV', 'column1 String, column2 Int32')
66+
ENGINE = S3('https://my-bucket.s3.scaleway.com/data/my_data.csv', 'CSV', 'column1 String, column2 Int32')
7167
```
7268
</TabsTab>
7369
<TabsTab label="ClickHouse® Client">
74-
```sh
75-
clickhouse-client --query="INSERT INTO your_table FORMAT CSVWithNames" \
76-
--url "https://my-bucket.s3.scaleway.com/data/my_data.csv" \
77-
--input_format_with_names=1
78-
```
70+
The `clickhouse-client` executes an INSERT query to populate a table in your deployment by specifying the URL of the source Object Storage bucket and the file format.
71+
```sh
72+
clickhouse-client --query="INSERT INTO your_table FORMAT CSVWithNames" \
73+
--url "https://my-bucket.s3.scaleway.com/data/my_data.csv" \
74+
--input_format_with_names=1
75+
```
7976
</TabsTab>
8077
</Tabs>
8178

0 commit comments

Comments
 (0)