|
@@ -16,7 +16,12 @@ Refer to [DataSource](../datasource/introduction.md)
|
|
|
## Task Parameter
|
|
|
|
|
|
- Data source: Select the corresponding DataSource.
|
|
|
-- SQL type: Supports query and non-query. The query is a `select` type query, which is returned with a result set. You can specify three templates for email notification: form, attachment or form attachment. Non-queries return without a result set, three types of operations are: update, delete and insert.
|
|
|
+- SQL type: Supports query and non-query.
|
|
|
+ - Query: supports `DML select` type commands, which return a result set. You can specify three templates for email notification as form, attachment or form attachment;
|
|
|
+ - Non-query: support `DDL` all commands and `DML update, delete, insert` three types of commands;
|
|
|
+ - Segmented execution symbol: When the data source does not support executing multiple SQL statements at a time, the symbol for splitting SQL statements is provided to call the data source execution method multiple times.
|
|
|
+ Example: 1. When the Hive data source is selected as the data source, this parameter does not need to be filled in. Because the Hive data source itself supports executing multiple SQL statements at one time;
|
|
|
+ 2. When the MySQL data source is selected as the data source, and multi-segment SQL statements are to be executed, this parameter needs to be filled in with a semicolon `;`. Because the MySQL data source does not support executing multiple SQL statements at one time;
|
|
|
- SQL parameter: The input parameter format is `key1=value1;key2=value2...`.
|
|
|
- SQL statement: SQL statement.
|
|
|
- UDF function: For Hive DataSources, you can refer to UDF functions created in the resource center, but other DataSource do not support UDF functions.
|