Configure runtime parameters to assign values to variables in a logical table. When a node is scheduled, these parameters are automatically replaced with their assigned values. This topic describes how to configure runtime parameters for a logical table.
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.
The system automatically generates parameters based on the configured calculation logic. You can then 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 change the parameter type. Valid values are 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: The value is the one defined for the global variable by default. You cannot change this value. For more information, see Create a global variable.
Namespace Variable: The parameter value is the namespace name. You cannot change this value.
Local Variable: The value can be up to 256 characters long 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 that has permission management enabled, the system automatically checks whether the current user has the required permissions. Global variables for which you do not have 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.