在使用hive进行建表时,报了如下错误:
NoViableAltException(309@[210:1: tableName : (db= identifier DOT tab= identifier -> ^( TOK_TABNAME $db $tab) |tab= identifier -> ^( TOK_TABNAME $tab) );])
at org.antlr.runtime.DFA.noViableAlt(DFA.java:158)
at org.antlr.runtime.DFA.predict(DFA.java:116)
at org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName(HiveParser_FromClauseParser.java:4555)
at org.apache.hadoop.hive.ql.parse.HiveParser.tableName(HiveParser.java:41980)
at org.apache.hadoop.hive.ql.parse.HiveParser.createTableStatement(HiveParser.java:6043)
at org.apache.hadoop.hive.ql.parse.HiveParser.ddlStatement(HiveParser.java:3808)
at org.apache.hadoop.hive.ql.parse.HiveParser.execStat