diff --git a/docs/docs/en/guide/datasource/clickhouse.md b/docs/docs/en/guide/datasource/clickhouse.md new file mode 100644 index 0000000000..0fb78366cd --- /dev/null +++ b/docs/docs/en/guide/datasource/clickhouse.md @@ -0,0 +1,21 @@ +# ClickHouse + +![ClickHouse Datasource](../../../../img/new_ui/dev/datasource/ClickHouse.png) + +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select CLICKHOUSE. | +| Datasource Name | Enter the name of the datasource. | +| Description | Enter a description of the datasource. | +| IP/Host Name | Enter the CLICKHOUSE service IP. | +| Port | Enter the CLICKHOUSE service port. | +| Username | Set the username for CLICKHOUSE connection. | +| Password | Set the password for CLICKHOUSE connection. | +| Database Name | Enter the database name of the CLICKHOUSE connection. | +| jdbc connect parameters | Parameter settings for CLICKHOUSE connection, in JSON format. | + +## Native Supported + +Yes, could use this datasource by default. \ No newline at end of file diff --git a/docs/docs/en/guide/datasource/db2.md b/docs/docs/en/guide/datasource/db2.md new file mode 100644 index 0000000000..33d459a0a5 --- /dev/null +++ b/docs/docs/en/guide/datasource/db2.md @@ -0,0 +1,21 @@ +# DB2 + +![DB2 Datasource](../../../../img/new_ui/dev/datasource/DB2.png) + +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select DB2. | +| Datasource Name | Enter the name of the datasource. | +| Description | Enter a description of the datasource. | +| IP/Host Name | Enter the DB2 service IP. | +| Port | Enter the DB2 service port. | +| Username | Set the username for DB2 connection. | +| Password | Set the password for DB2 connection. | +| Database Name | Enter the database name of the DB2 connection. | +| jdbc connect parameters | Parameter settings for DB2 connection, in JSON format. | + +## Native Supported + +Yes, could use this datasource by default. \ No newline at end of file diff --git a/docs/docs/en/guide/datasource/hive.md b/docs/docs/en/guide/datasource/hive.md index 2e82c20535..2a29ccb319 100644 --- a/docs/docs/en/guide/datasource/hive.md +++ b/docs/docs/en/guide/datasource/hive.md @@ -4,15 +4,19 @@ ![hive](../../../../img/new_ui/dev/datasource/hive.png) -- Datasource: select `HIVE` -- Datasource name: enter the name of the DataSource -- Description: enter a description of the DataSource -- IP/Host Name: enter the HIVE service IP -- Port: enter the HIVE service port -- Username: set the username for HIVE connection -- Password: set the password for HIVE connection -- Database name: enter the database name of the HIVE connection -- Jdbc connection parameters: parameter settings for HIVE connection, in JSON format +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select HIVE. | +| Datasource name | Enter the name of the DataSource. | +| Description | Enter a description of the DataSource. | +| IP/Host Name | Enter the HIVE service IP. | +| Port | Enter the HIVE service port. | +| Username | Set the username for HIVE connection. | +| Password | Set the password for HIVE connection. | +| Database name | Enter the database name of the HIVE connection. | +| Jdbc connection parameters | Parameter settings for HIVE connection, in JSON format. | > NOTICE: If you wish to execute multiple HIVE SQL in the same session, you could set `support.hive.oneSession = true` in `common.properties`. > It is helpful when you try to set env variables before running HIVE SQL. Default value of `support.hive.oneSession` is `false` and multi-SQLs run in different sessions. diff --git a/docs/docs/en/guide/datasource/introduction.md b/docs/docs/en/guide/datasource/introduction.md index 1f8121ca16..dab26ca523 100644 --- a/docs/docs/en/guide/datasource/introduction.md +++ b/docs/docs/en/guide/datasource/introduction.md @@ -2,9 +2,8 @@ DataSource supports MySQL, PostgreSQL, Hive/Impala, Spark, ClickHouse, Oracle, SQL Server and other DataSources. -- Click bottom "Data Source Center -> Create Data Source" to create a new datasource. -- Click "Test Connection" to test whether the DataSource can connect successfully(datasource can be saved only if passed the - connection test). +- Click bottom `Data Source Center -> Create Data Source` to create a new datasource. +- Click `Test Connection` to test whether the DataSource can connect successfully (datasource can be saved only if it passes the connection test). ## Using datasource incompatible to Apache LICENSE V2 LICENSE diff --git a/docs/docs/en/guide/datasource/mysql.md b/docs/docs/en/guide/datasource/mysql.md index 5f339a57f1..ac13451f14 100644 --- a/docs/docs/en/guide/datasource/mysql.md +++ b/docs/docs/en/guide/datasource/mysql.md @@ -2,15 +2,19 @@ ![mysql](../../../../img/new_ui/dev/datasource/mysql.png) -- Datasource: select MYSQL -- Datasource name: enter the name of the DataSource -- Description: enter a description of the DataSource -- IP/Host Name: enter the MYSQL service IP -- Port: enter the MYSQL service port -- Username: set the username for MYSQL connection -- Password: set the password for MYSQL connection -- Database name: enter the database name of the MYSQL connection -- Jdbc connection parameters: parameter settings for MYSQL connection, in JSON format +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select MYSQL. | +| Datasource name | Enter the name of the DataSource. | +| Description | Enter a description of the DataSource. | +| IP/Host Name | Enter the MYSQL service IP. | +| Port | Enter the MYSQL service port. | +| Username | Set the username for MYSQL connection. | +| Password | Set the password for MYSQL connection. | +| Database name | Enter the database name of the MYSQL connection. | +| Jdbc connection parameters | Parameter settings for MYSQL connection, in JSON format. | ## Native Supported diff --git a/docs/docs/en/guide/datasource/oracle.md b/docs/docs/en/guide/datasource/oracle.md new file mode 100644 index 0000000000..e9c53d5067 --- /dev/null +++ b/docs/docs/en/guide/datasource/oracle.md @@ -0,0 +1,20 @@ +# Oracle + +![oracle](../../../../img/new_ui/dev/datasource/oracle.png) + +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select Oracle. | +| Datasource Name | Enter the name of the datasource. | +| Description | Enter a description of the datasource. | +| IP/Host Name | Enter the Oracle service IP. | +| Port | Enter the Oracle service port. | +| Username | Set the username for Oracle connection. | +| Password | Set the password for Oracle connection. | +| Database Name | Enter the database name of the Oracle connection. | +| jdbc connect parameters | Parameter settings for Oracle connection, in JSON format. | + +## Native Supported +Yes, could use this datasource by default. \ No newline at end of file diff --git a/docs/docs/en/guide/datasource/postgresql.md b/docs/docs/en/guide/datasource/postgresql.md index a39ed0efbc..08d92edd31 100644 --- a/docs/docs/en/guide/datasource/postgresql.md +++ b/docs/docs/en/guide/datasource/postgresql.md @@ -2,15 +2,19 @@ ![postgresql](../../../../img/new_ui/dev/datasource/postgresql.png) -- Datasource: select POSTGRESQL -- Datasource name: enter the name of the DataSource -- Description: enter a description of the DataSource -- IP/Host Name: enter the PostgreSQL service IP -- Port: enter the PostgreSQL service port -- Username: set the username for PostgreSQL connection -- Password: set the password for PostgreSQL connection -- Database name: enter the database name of the PostgreSQL connection -- Jdbc connection parameters: parameter settings for PostgreSQL connection, in JSON format +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select POSTGRESQL. | +| Datasource name | Enter the name of the DataSource. | +| Description | Enter a description of the DataSource. | +| IP/Host Name | Enter the PostgreSQL service IP. | +| Port | Enter the PostgreSQL service port. | +| Username | Set the username for PostgreSQL connection. | +| Password | Set the password for PostgreSQL connection. | +| Database name | Enter the database name of the PostgreSQL connection. | +| Jdbc connection parameters | Parameter settings for PostgreSQL connection, in JSON format. | ## Native Supported diff --git a/docs/docs/en/guide/datasource/presto.md b/docs/docs/en/guide/datasource/presto.md new file mode 100644 index 0000000000..6302954056 --- /dev/null +++ b/docs/docs/en/guide/datasource/presto.md @@ -0,0 +1,22 @@ +# Presto + +![Presto Datasource](../../../../img/new_ui/dev/datasource/presto.png) + +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select Presto. | +| Datasource Name | Enter the name of the datasource. | +| Description | Enter a description of the datasource. | +| IP/Host Name | Enter the Presto service IP. | +| Port | Enter the Presto service port. | +| Username | Set the username for Presto connection. | +| Password | Set the password for Presto connection. | +| Database Name | Enter the database name of the Presto connection. | +| jdbc connect parameters | Parameter settings for Presto connection, in JSON format. | + + +## Native Supported + +Yes, could use this datasource by default. \ No newline at end of file diff --git a/docs/docs/en/guide/datasource/redshift.md b/docs/docs/en/guide/datasource/redshift.md new file mode 100644 index 0000000000..1e7cf7b5a2 --- /dev/null +++ b/docs/docs/en/guide/datasource/redshift.md @@ -0,0 +1,20 @@ +# Amazon Redshift + +![Redshift datasource](../../../../img/new_ui/dev/datasource/redshift.png) + +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select Redshift. | +| Datasource Name | Enter the name of the datasource. | +| Description | Enter a description of the datasource. | +| IP/Host Name | Enter the Redshift service IP. | +| Port | Enter the Redshift service port. | +| Username | Set the username for Redshift connection. | +| Password | Set the password for Redshift connection. | +| Database Name | Enter the database name of the Redshift connection. | +| jdbc connect parameters | Parameter settings for Redshift connection, in JSON format. | +## Native Supported + +Yes, could use this datasource by default. \ No newline at end of file diff --git a/docs/docs/en/guide/datasource/spark.md b/docs/docs/en/guide/datasource/spark.md index a9b6b2cf0f..e3ea0acac7 100644 --- a/docs/docs/en/guide/datasource/spark.md +++ b/docs/docs/en/guide/datasource/spark.md @@ -2,15 +2,19 @@ ![sparksql](../../../../img/new_ui/dev/datasource/sparksql.png) -- Datasource: select Spark -- Datasource name: enter the name of the DataSource -- Description: enter a description of the DataSource -- IP/Host Name: enter the Spark service IP -- Port: enter the Spark service port -- Username: set the username for Spark connection -- Password: set the password for Spark connection -- Database name: enter the database name of the Spark connection -- Jdbc connection parameters: parameter settings for Spark connection, in JSON format +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select Spark. | +| Datasource name | Enter the name of the DataSource. | +| Description | Enter a description of the DataSource. | +| IP/Host Name | Enter the Spark service IP. | +| Port | Enter the Spark service port. | +| Username | Set the username for Spark connection. | +| Password | Set the password for Spark connection. | +| Database name | Enter the database name of the Spark connection. | +| Jdbc connection parameters | Parameter settings for Spark connection, in JSON format. | ## Native Supported diff --git a/docs/docs/en/guide/datasource/sql-server.md b/docs/docs/en/guide/datasource/sql-server.md new file mode 100644 index 0000000000..bbcc7cc672 --- /dev/null +++ b/docs/docs/en/guide/datasource/sql-server.md @@ -0,0 +1,22 @@ +# SQL Server + +![SQL Server](../../../../img/new_ui/dev/datasource/sql_server.png) + +## Datasource Parameters + +| **Datasource** | **Description** | +| --- | --- | +| Datasource | Select SQLSERVER. | +| Datasource Name | Enter the name of the datasource. | +| Description | Enter a description of the datasource. | +| IP/Host Name | Enter the SQLSERVER service IP. | +| Port | Enter the SQLSERVER service port. | +| Username | Set the username for SQLSERVER connection. | +| Password | Set the password for SQLSERVER connection. | +| Database Name | Enter the database name of the SQLSERVER connection. | +| jdbc connect parameters | Parameter settings for SQLSERVER connection, in JSON format. | + + +## Native Supported + +Yes, could use this datasource by default. \ No newline at end of file diff --git a/docs/img/new_ui/dev/datasource/ClickHouse.png b/docs/img/new_ui/dev/datasource/ClickHouse.png new file mode 100644 index 0000000000..b869be6e65 Binary files /dev/null and b/docs/img/new_ui/dev/datasource/ClickHouse.png differ diff --git a/docs/img/new_ui/dev/datasource/DB2.png b/docs/img/new_ui/dev/datasource/DB2.png new file mode 100644 index 0000000000..e1fa2a678d Binary files /dev/null and b/docs/img/new_ui/dev/datasource/DB2.png differ diff --git a/docs/img/new_ui/dev/datasource/oracle.png b/docs/img/new_ui/dev/datasource/oracle.png new file mode 100644 index 0000000000..d17ac14cb0 Binary files /dev/null and b/docs/img/new_ui/dev/datasource/oracle.png differ diff --git a/docs/img/new_ui/dev/datasource/presto.png b/docs/img/new_ui/dev/datasource/presto.png new file mode 100644 index 0000000000..5fc178cc54 Binary files /dev/null and b/docs/img/new_ui/dev/datasource/presto.png differ diff --git a/docs/img/new_ui/dev/datasource/redshift.png b/docs/img/new_ui/dev/datasource/redshift.png new file mode 100644 index 0000000000..333fe0214a Binary files /dev/null and b/docs/img/new_ui/dev/datasource/redshift.png differ diff --git a/docs/img/new_ui/dev/datasource/sql_server.png b/docs/img/new_ui/dev/datasource/sql_server.png new file mode 100644 index 0000000000..68b974b5ab Binary files /dev/null and b/docs/img/new_ui/dev/datasource/sql_server.png differ