improved sql parser for odps show tables

This commit is contained in:
shaojin.wensj
2015-07-10 14:47:01 +08:00
parent 68c5630cd1
commit 60b7139911
9 changed files with 151 additions and 22 deletions
@@ -354,7 +354,7 @@ public class SQLStatementParser extends SQLParser {
public SQLStatement parseShow() {
throw new ParserException("TODO " + lexer.token() + " " + lexer.stringVal());
}
public SQLUseStatement parseUse() {
accept(Token.USE);
SQLUseStatement stmt = new SQLUseStatement(getDbType());