You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/09/08 12:26:22 UTC

[GitHub] [dolphinscheduler] ruanwenjun opened a new issue #6138: [Bug][sql] Create error

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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] ruanwenjun commented on issue #6138: [Bug][sql] Create t_ds_task_instance mysql table error

Posted by GitBox <gi...@apache.org>.
ruanwenjun commented on issue #6138:
URL: https://github.com/apache/dolphinscheduler/issues/6138#issuecomment-915195394


   @calvinjiang Please take a look.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] ruanwenjun closed issue #6138: [Bug][sql] Create t_ds_task_instance mysql table error

Posted by GitBox <gi...@apache.org>.
ruanwenjun closed issue #6138:
URL: https://github.com/apache/dolphinscheduler/issues/6138


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org