|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The information about the created SQL query script file. |
||
| name |
string |
The name of the query script. This field is required when you create a SqlFile. |
orders-query |
| sqlFileId |
string |
The unique ID of the query script file. |
sql-f-abc123xyz |
| parentId |
string |
The ID of the parent folder. This field is required when you create a SqlFile. |
95c0787c-408f-4e1f-88ba-ef0a84a2c2ee |
| description |
string |
The description of the query script file. |
Order data query script |
| sessionClusterName |
string |
The session cluster used to run the query script. This field is required when you create a SqlFile. |
test-session |
| sqlScript |
string |
The SQL script. This field is required when you create a SqlFile. |
SELECT * FROM orders; |
| workspace |
string |
The workspace ID. |
710d6a64d8**** |
| namespace |
string |
The name of the project workspace. |
test-flink-bigdata-default |
| batchMode |
string |
Specifies whether to run the query script in batch mode. |