【问题标题】:Is there a way to make a Denodo 8 VDP scheduler job WAIT() for a certain amount of time?有没有办法让 Denodo 8 VDP 调度程序作业 WAIT() 一段时间?
【发布时间】:2021-10-02 09:12:34
【问题描述】:

我想让 Denodo 8 中的 VDP 调度程序作业等待一定时间。作业创建过程中的等待功能没有按预期工作,所以我想我会把它写到 VQL 中。但是,当我尝试文档 (https://community.denodo.com/docs/html/browse/8.0/en/vdp/vql/stored_procedures/predefined_stored_procedures/wait) 中的建议功能时,Denodo 8 VQL shell 无法识别该功能。

--不工作 选择等待('10000');

返回以下错误: 未找到 arity 1 的函数“等待”

--不工作 等待('10000');

返回以下错误: 解析命令'WAIT('10000')'时出错

任何建议将不胜感激。

【问题讨论】:

    标签: wait scheduler jobs job-scheduling denodo


    【解决方案1】:

    调用WAIT有两种方式:

    选项#1

    -- Wait for one minute
    CALL WAIT(60000);
    

    选项 #2:

    -- Wait for ten seconds
    SELECT timeinmillis 
    FROM WAIT()
    WHERE timeinmillis = 10000;
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-24
      • 2017-08-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多