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 679266cad2c Refactor RowStatistics (#37035)
679266cad2c is described below
commit 679266cad2c6ff9b47443db1e9d035290b20b12e
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Nov 7 13:20:46 2025 +0800
Refactor RowStatistics (#37035)
---
.../apache/shardingsphere/infra/metadata/statistics/RowStatistics.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/statistics/RowStatistics.java
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/statistics/RowStatistics.java
index baf79db9a31..d739d0e6265 100644
---
a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/statistics/RowStatistics.java
+++
b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/statistics/RowStatistics.java
@@ -26,7 +26,6 @@ import java.math.BigInteger;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
-import java.util.Collection;
import java.util.List;
/**
@@ -40,7 +39,7 @@ public final class RowStatistics {
@EqualsAndHashCode.Include
private final String uniqueKey;
- private final Collection<Object> rows;
+ private final List<Object> rows;
public RowStatistics(final List<Object> rows) {
uniqueKey = generateUniqueKey(rows);