mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-01 22:42:53 +08:00
Merge pull request #1798 from goSilver/20230525-fix-log-keyword
修复日志关键词错误
This commit is contained in:
commit
a1d4f2c3fe
@ -78,7 +78,7 @@ public class StarRocksWriter extends Writer {
|
||||
List<String> renderedPostSqls = StarRocksWriterUtil.renderPreOrPostSqls(options.getPostSqlList(), options.getTable());
|
||||
if (null != renderedPostSqls && !renderedPostSqls.isEmpty()) {
|
||||
Connection conn = DBUtil.getConnection(DataBaseType.MySql, jdbcUrl, username, password);
|
||||
LOG.info("Begin to execute preSqls:[{}]. context info:{}.", String.join(";", renderedPostSqls), jdbcUrl);
|
||||
LOG.info("Begin to execute postSqls:[{}]. context info:{}.", String.join(";", renderedPostSqls), jdbcUrl);
|
||||
StarRocksWriterUtil.executeSqls(conn, renderedPostSqls);
|
||||
DBUtil.closeDBResources(null, null, conn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user