mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved hive sql support, fix #3987
This commit is contained in:
@@ -2348,7 +2348,7 @@ public class SQLExprParser extends SQLParser {
|
||||
}
|
||||
|
||||
public SQLOrderBy parseDistributeBy() {
|
||||
if (lexer.token == Token.DISTRIBUTE) {
|
||||
if (lexer.token == Token.DISTRIBUTE || lexer.identifierEquals("DISTRIBUTE")) {
|
||||
SQLOrderBy orderBy = new SQLOrderBy();
|
||||
|
||||
lexer.nextToken();
|
||||
|
||||
Reference in New Issue
Block a user