mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved clickhouse support, fix #4043
This commit is contained in:
@@ -1116,7 +1116,7 @@ public class SQLExprParser extends SQLParser {
|
||||
}
|
||||
throw new ParserException("ERROR. " + lexer.info());
|
||||
case LBRACKET:
|
||||
if (dbType == DbType.odps) {
|
||||
if (dbType == DbType.odps || dbType == DbType.clickhouse) {
|
||||
SQLArrayExpr array = new SQLArrayExpr();
|
||||
lexer.nextToken();
|
||||
this.exprList(array.getValues(), array);
|
||||
|
||||
Reference in New Issue
Block a user