You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Format create table sql error when encounter unique key with comment #538
Exception in thread "main" net.sf.jsqlparser.JSQLParserException
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54)
at com.greenline.hati.biz.manager.common.SqlUtil.main(SqlUtil.java:118)
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "USING" "USING "" at line 11, column 65.
Was expecting one of:
"," ...
")" ...
at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:15112)
at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:14968)
at net.sf.jsqlparser.parser.CCJSqlParser.CreateTable(CCJSqlParser.java:8232)
when I removed the USING BTREE COMMENT 'should be unique', the problem disappeared.
Activity