Offline computing task submission
When you submit an offline computing task, Dataphin automatically parses the lineage for tables and fields, identifies the type and content of any changes, and runs a series of pre-checks. These validations help ensure your task meets all submission requirements and reduce the risk of errors.
Lineage parsing
Dataphin parses lineage in the development environment when you submit a task, and in the production environment when you publish it. The system records up to 100,000 lineage relationships. If this limit is exceeded, the lineage is not recorded and cannot be displayed in the asset catalog.
Commit details
When you submit an offline computing task, the Commit Details dialog box lets you view the submission content, pre-check results, and add commit notes.
Submission content
You can view the object name, object type, change type, and change content for the submitted task. The change content includes Basic Information, Code, Runtime Parameters, Scheduling Configuration, Scheduling Dependencies, Execution Configuration, and Resource Configuration.
Pre-check
When you submit an offline computing task, the system performs the following pre-checks. You cannot submit the task until all check items are configured correctly.
Check item
Description
Check Conditions
Checks whether the check conditions for the node are configured. For more information, see Check conditions.
NoteThis check item applies only to check node tasks.
Scheduling dependency
Dataphin uses scheduling dependencies to run business process nodes in the correct order, ensuring efficient and timely data generation. For more information, see Configure scheduling dependencies for an offline task.
Runtime parameter
These parameters enable node scheduling, and the system automatically replaces them with their corresponding values during execution. For more information, see Configure and use node parameters.
Cross-node parameter
Variable parameters passed to the immediate downstream nodes of the current object. For more information, see Configure and use node parameters.
Dataset lineage configuration
For Python/Shell tasks, if the referenced dataset is inconsistent with the lineage, the submission fails. For more information, see Configure datasets referenced by Python/Shell tasks and Custom lineage configuration.
Commit notes
You can add notes for this commit, up to 128 characters long.
Check items
After all pre-checks pass, click OK and Submit. In the Commit Details dialog box, you can view the check items and their results.
Check item | Description |
Configuration check | This includes the following checks: pre-check, code length, number of referenced resources, and offline code template version.
|
Parameter Configuration | The system parses all variables in the code and displays them in a list, showing the parameter name, parameter type, and current value. It also checks whether local variables have been assigned a value. |
Syntax check | For SQL tasks only. The system validates the SQL syntax. The task cannot be submitted if errors are found. |
Object check | For SQL tasks only. The system checks whether all referenced objects have been committed and published to the production environment. It parses all referenced objects in the code and displays them in a list, including the object name, object type, and check result.
|
Permission check | The system parses all objects in the code and displays a list indicating whether you have the required permissions for each object. This list includes the object name, object type, check result, row-level security status, and an option to apply for permissions.
|
Specification check | For SQL tasks only. The system scans the SQL code against built-in specifications and displays the results for each rule. For more information, see Coding specifications. |
Dependency check | Verifies the dependency configuration and output configuration.
|
Code review | The system automatically checks for task configurations that trigger a code review. If found, a review is required. For example, this can happen if the task references a global variable that requires code review. For more information, see View built-in approval templates. Important
|
Operation execution | When the check reaches this item, the system proceeds with the task submission. You cannot cancel the submission during this process. |