Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
错误原因:常量、随机或者依赖时区的表达式不能作为分区函数。解决方法:把ts列换成datetime类型,创建成功。CREATETABLET_log(idINT(11)NOTNULLAUTO_INCREMENT,zoneidINT(11)NOTNULL,numcountINT(11)NOTNULL,tsDATETIMENULLDEFAULT'0000-00-0000:00:00'ONUPDATECUR