mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 05:11:42 +08:00
修复日志关键词错误
这里这一行日志本身是打印post sql的明细,但是关键词typo了拼成了presql,影响搜索日志排查问题。
This commit is contained in:
parent
f6d21f112d
commit
47f6dff024
@ -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