数据湖探索 DLI-Spark作业相关:删除批处理作业

时间:2025-06-11 15:15:00

删除批处理作业

DLI 提供删除批处理作业的接口。您可以使用该接口删除批处理作业。示例代码如下:
def del_spark_batch(dli_client, batch_id):
    try:
        resp = dli_client.del_spark_batch_job(batch_id)
        print(resp.msg)
    except DliException as e:
        print(e)
        return
support.huaweicloud.com/sdkreference-dli/dli_04_0139.html