mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sql-parser db2 support
This commit is contained in:
@@ -20,7 +20,7 @@ import com.alibaba.druid.sql.parser.SQLExprParser;
|
||||
|
||||
public class DB2ExprParser extends SQLExprParser {
|
||||
|
||||
public final static String[] AGGREGATE_FUNCTIONS = { "AVG", "COUNT", "MAX", "MIN", "STDDEV", "SUM", "ROW_NUMBER" };
|
||||
public final static String[] AGGREGATE_FUNCTIONS = { "AVG", "COUNT", "MAX", "MIN", "STDDEV", "SUM", "ROW_NUMBER", "ROWNUMBER" };
|
||||
|
||||
public DB2ExprParser(String sql){
|
||||
this(new DB2Lexer(sql));
|
||||
|
||||
Reference in New Issue
Block a user