Skip to content

Commit

Permalink
修复日志关键词错误
Browse files Browse the repository at this point in the history
这里这一行日志本身是打印post sql的明细,但是关键词typo了拼成了presql,影响搜索日志排查问题。
  • Loading branch information
goSilver authored May 25, 2023
1 parent f6d21f1 commit 47f6dff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void post() {
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);
}
Expand Down

0 comments on commit 47f6dff

Please sign in to comment.