ruanwenjun opened a new issue #6336:
URL: https://github.com/apache/dolphinscheduler/issues/6336


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   When I run the UT in `TaskInstanceMapperTest`, it failed.
   The `process_definition_code` is null.
   
   ```java
   ### SQL: INSERT INTO t_ds_process_instance  ( warning_group_id,   timeout,   
       executor_id,     max_try_times, tenant_id,   command_param, run_times, 
process_definition_version )  VALUES  ( ?,   ?,          ?,     ?, ?,   ?, ?, ? 
)
   ### Cause: java.sql.SQLException: Field 'process_definition_code' doesn't 
have a default value
   ; Field 'process_definition_code' doesn't have a default value; nested 
exception is java.sql.SQLException: Field 'process_definition_code' doesn't 
have a default value
   ```
   
   ### What you expected to happen
   
   UT execute success.
   
   ### How to reproduce
   
   Execute TaskInstanceMapperTest.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to