Configure runtime parameters for a logical table
Runtime parameters assign values to variables in a logical table. When a node is scheduled, these parameters are automatically replaced with their assigned values.
Procedure
-
In the top menu bar of the Dataphin home page, choose Development > Data Studio.
-
In the top menu bar, select a Project. In Dev-Prod mode, also select an Environment.
-
In the navigation pane on the left, click Logical Dimension Table or Logical Fact Table. Select the target logical table from the list on the right.
-
In the function bar at the top of the dimension table, click Scheduling Configuration to open the Scheduling Configuration panel.
-
In the Runtime Parameter section of the Scheduling Properties panel, configure the following parameters.
Parameters are automatically generated based on the calculation logic. You can modify the parameter type and assign a value.
Parameter
Description
Parameter Name
The name of the parameter defined in the logical table. The name can contain only digits, letters, and underscores (_), and must be 32 characters or less.
Parameter Type
Click the Parameter Type drop-down list to select a parameter type. Valid values: Global Variable, Namespace Variable, Local Variable, Cross-node Variable, and Non-variable Type. For more information, see Variable Classification.
To modify parameter types in a batch, select multiple parameters or click Select All. Then, click Modify Parameter Type at the bottom of the parameter list.
Parameter Value
-
Global Variable: Defaults to the value defined for the global variable. This value cannot be changed. For more information, see Variable groups and global variables.
-
Namespace Variable: Uses the namespace name. This value cannot be changed.
-
Local Variable: Supports up to 256 characters, or can be empty. To enter a date and time, select or refer to an expression in the list. For more information, see Variable Assignment.
-
Cross-node Variable: After setting an upstream dependency, select an upstream cross-node output parameter as the value.
-
Non-variable: Not definable.
NoteIf you reference a global variable with permission management enabled, the system checks whether you have the required permissions. Global variables for which you lack permissions are marked with an
icon. Click Request Permission to open the Permission Management > Variable Permission Management page and request the permissions. -
-
Click Save to complete the Runtime Parameter configuration for the logical table.