You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/06/23 11:25:47 UTC

[GitHub] [doris] zenoyang commented on issue #3634: [Schema change] throw error 'Can not change default value'

zenoyang commented on issue #3634:
URL: https://github.com/apache/doris/issues/3634#issuecomment-1164291012

   I have a case: 
   
   mysql> ALTER TABLE db1.tbl1 MODIFY COLUMN `k1` VARCHAR(4096) NULL COMMENT "备注";
   ERROR 1064 (HY000): errCode = 2, detailMessage = Can not change default value
   
   mysql> ALTER TABLE db1.tbl1 MODIFY COLUMN `k1` VARCHAR(4096) NULL default "" COMMENT "备注";
   Query OK, 0 rows affected (12.19 sec)


-- 
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@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org