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


   **Describe the bug**
   
   
https://github.com/apache/dolphinscheduler/blob/9d7f70bca777177c14efb3d32e469a54951f4a6b/sql/dolphinscheduler_mysql.sql#L819
   When I create the `t_ds_task_instance` table, it will throw an exception.
   
   ```
   [2021-09-08 20:09:39] [42000][1101] BLOB, TEXT, GEOMETRY or JSON column 
'environment_config' can't have a default value
   ```
   We cannot set default value for text in mysql 
https://dev.mysql.com/doc/refman/8.0/en/blob.html
   
![image](https://user-images.githubusercontent.com/22415594/132508865-8e177ba3-9fa9-4e1f-bd4a-d8f26f03f7bd.png)
   
   
   And we also need to remove the extra comma in line 991
   
https://github.com/apache/dolphinscheduler/blob/9d7f70bca777177c14efb3d32e469a54951f4a6b/sql/dolphinscheduler_mysql.sql#L991
   
   **Which version of Dolphin Scheduler:**
    -[dev]


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