Real-time mode time parameter configuration

更新时间: 2026-06-23 10:46:52

Time parameters for real-time computing tasks manage runtime offsets during data processing.

Procedure

  1. For more information, see the real-time mode configuration entry to navigate to the Real-time Mode configuration page.

  2. In the Time Parameter section of the configuration panel, configure the time parameters for real-time mode.

    The key time parameter for real-time tasks is stat_date, which adjusts for runtime offsets in real-time computing. For instance, to calculate the daily aggregate value of an indicator while accounting for time discrepancies, set stat_date to a time after midnight to exclude any offset times.

    To avoid repeatedly setting stat_date in task parameters, add a kv configuration for stat_date in the property settings of the real-time task. The Value should be an expression reflecting business time. You can also set multiple time parameters, each separated by a period. For example, stat_date=${yyyyMMdd-1} indicates that the task starts processing at the time represented by ${yyyyMMdd-1}.

  3. Click OK.

上一篇: Configure real-time mode variables 下一篇: Real-time mode checkpoint configuration
阿里云首页 智能数据建设与治理 Dataphin 相关技术圈