From c2422e619e59b0ad9c2cac442c22ffb9e853f919 Mon Sep 17 00:00:00 2001 From: Hongsheng Zhong Date: Wed, 20 Sep 2023 18:35:24 +0800 Subject: [PATCH] Remove log --- .../core/importer/sink/PipelineDataSourceSink.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/PipelineDataSourceSink.java b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/PipelineDataSourceSink.java index b193b5324f5cf..ca3a5165184ad 100644 --- a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/PipelineDataSourceSink.java +++ b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/importer/sink/PipelineDataSourceSink.java @@ -43,13 +43,11 @@ import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; -import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicReference; import java.util.stream.Collectors; -import java.util.stream.IntStream; /** * Pipeline data source sink. @@ -274,10 +272,7 @@ private void executeBatchDelete(final Connection connection, final List 1 != value)) { - log.warn("batchDelete failed, counts={}, sql={}, dataRecords={}", Arrays.toString(counts), deleteSQL, dataRecords); - } + preparedStatement.executeBatch(); } finally { batchDeleteStatement.set(null); }