Skip to content

Commit

Permalink
[bug] Fix datax task type error parse clickhouse reader sql (#8091)
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle-yuan authored Jan 18, 2022
1 parent e0a99dd commit f1a0215
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import org.apache.dolphinscheduler.spi.enums.DbType;

import com.alibaba.druid.sql.dialect.clickhouse.parser.ClickhouseStatementParser;
import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser;
import com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser;
import com.alibaba.druid.sql.dialect.postgresql.parser.PGSQLStatementParser;
Expand Down Expand Up @@ -91,6 +92,8 @@ public static SQLStatementParser getSqlStatementParser(DbType dbType, String sql
return new OracleStatementParser(sql);
case SQLSERVER:
return new SQLServerStatementParser(sql);
case CLICKHOUSE:
return new ClickhouseStatementParser(sql);
default:
return null;
}
Expand Down

0 comments on commit f1a0215

Please sign in to comment.