iampratap7997-dot opened a new pull request, #17988:
URL: https://github.com/apache/dolphinscheduler/pull/17988

   ## Purpose of the pull request
   
   This PR fixes a data type mismatch between the MySQL schema and Java entity 
mapping for `t_ds_serial_command`.
   
   The column `workflow_definition_code` was defined as `INT(11)` in the 3.4.0 
MySQL schema, while the corresponding Java field uses `Long`. This may cause 
data truncation errors when values exceed the range of `INT`.
   
   ## Brief change log
   
   - Change `workflow_definition_code` from  `INT(11)` to `BIGINT(20)` in 
`3.4.0_schema/mysql`
   - Add upgrade SQL in `3.4.1_schema/mysql` to modify the existing column to 
`BIGINT(20)`
   - Align `workflowInstanceId` Java type from `Integer` to `Long` to match 
existing    DB definition (`BIGINT(20)`)
   
   ## Verify this pull request
   
   This change is covered by existing tests.
   
   Additionally:
   - Verified schema consistency manually
   - Confirmed no remaining `INT(11)` definition for `workflow_definition_code`
   - Ensured upgrade SQL is provided for existing deployments
   
   ## Pull Request Notice
   [Pull Request 
Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)
   
   Fixes #17979
   
   


-- 
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