Configure real-time mode variables

更新时间: 2026-06-04 19:57:00

Assign values to variables in a computing task so they are automatically substituted at runtime. This topic uses Flink SQL as an example.

Procedure

  1. On the Dataphin home page, choose Development in the top menu bar. The Data Development page opens.

  2. Select the target task as shown below to open the Configuration panel.

    image.png

  3. In the Variable Configuration section, configure task parameters.

    The code editor preloads existing parameters. Add parameters using the Expression format: ${variable_name}. You can also change the parameter type or assign values in the Variable Configuration list.

    image.png

    Note

    Select one or more parameters, then click image.png to batch-edit the parameter type.

    Parameter

    Description

    Parameter Name

    The parameter name defined in the code editor. Supports letters, numbers, underscores (_), dots (.), and hyphens (-). Maximum 32 characters.

    Parameter Type

    Includes global variables, space name variables, local variables, and non-variable types. For more information, see Variable classification and assignment.

    Parameter Value

    • Global Variable: Inherits the value from the global variable definition. Cannot be manually set. Create a global variable.

    • Space Name Variable: Value is the space name. Cannot be converted to other types.

    • Local Variable: Up to 258 characters. Can be left empty.

    • Non-variable: Cannot be defined.

  4. Click OK to save the Variable Configuration.

上一篇: Alibaba Blink custom resources for real-time mode 下一篇: Real-time mode time parameter configuration
阿里云首页 智能数据建设与治理 Dataphin 相关技术圈