This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new df0cd620801 Refactor PipelineDataSourceSink (#32694)
df0cd620801 is described below
commit df0cd6208016894a94638856a54d92d9bf4325d5
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Aug 27 01:35:00 2024 +0800
Refactor PipelineDataSourceSink (#32694)
---
.../data/pipeline/core/importer/sink/type/PipelineDataSourceSink.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/type/PipelineDataSourceSink.java
b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/type/PipelineDataSourceSink.java
index 8fdf6cfb94d..d6e180dfb06 100644
---
a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/type/PipelineDataSourceSink.java
+++
b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/type/PipelineDataSourceSink.java
@@ -206,7 +206,7 @@ public final class PipelineDataSourceSink implements
PipelineSink {
// TODO if table without unique key the conditionColumns before
values is null, so update will fail at PostgreSQL
int updateCount = preparedStatement.executeUpdate();
if (1 != updateCount) {
- log.warn("execute update failed, update count: {}, sql: {},
set columns: {}, sharding columns: {}, condition columns: {}",
+ log.warn("Update failed, update count: {}, sql: {}, set
columns: {}, sharding columns: {}, condition columns: {}",
updateCount, sql, setColumns,
JsonUtils.toJsonString(shardingColumns),
JsonUtils.toJsonString(conditionColumns));
}
} catch (final SQLException ex) {