数据湖探索 DLI-更新SQL作业:请求示例

时间:2024-11-04 19:08:44

请求示例

更新已有的SQL作业,更新后的作业名称为myjob,以共享模式运行在testQueue上。

{
    "name": "myjob",
    "desc": "这是我的第一个作业",
    "queue_name": "testQueue",
    "sql_body": "select * from source_table",
    "run_mode": "shared_cluster",
    "cu_number": 4,
    "parallel_number": 4,
    "checkpoint_enabled": false,
    "checkpoint_mode": "exactly_once",
    "checkpoint_interval": 10,
    "obs_bucket": "",
    "log_enabled": false,
    "smn_topic": "",
    "restart_when_exception": false,
    "idle_state_retention": 3600,
    "edge_group_ids": [
        "62de1e1c-066e-48a8-a79d-f461a31b2ee1",
        "2eb00f85-99f2-4144-bcb7-d39ff47f9002"
    ],
    "dirty_data_strategy": "0",
    "udf_jar_url": "group/test.jar"
}
support.huaweicloud.com/api-dli/dli_02_0229.html