GBase 8a报错This version of GBase doesn't yet support 'ALTER column definition except increasing length of varchar

GBase 8a数据库集群不支持改动字段的定义,除了可以增加varchar的长度,其它的操作都会报如下的错误:ERROR 1702 (HY000): gcluster table error: This version of GBase doesn't yet support 'ALTER column definition except increasing length of varchar'.

原因

当前版本不支持除了varchar增加长度外的改动字段定义的操作。当然注释是可以随时修改的。

解决方案

新建列,将数据update过去,再将列重命名。详情看这个

参考