This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new f919aa82fe [hotfix] Print partition spec and type when error in
InternalRowPartitionComputer
f919aa82fe is described below
commit f919aa82feb89b60d08b6fb7ce8c38233d864b92
Author: JingsongLi <[email protected]>
AuthorDate: Mon Nov 3 22:25:45 2025 +0800
[hotfix] Print partition spec and type when error in
InternalRowPartitionComputer
---
.../java/org/apache/paimon/utils/InternalRowPartitionComputer.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/paimon-common/src/main/java/org/apache/paimon/utils/InternalRowPartitionComputer.java
b/paimon-common/src/main/java/org/apache/paimon/utils/InternalRowPartitionComputer.java
index 0f207aaa64..2382647aa9 100644
---
a/paimon-common/src/main/java/org/apache/paimon/utils/InternalRowPartitionComputer.java
+++
b/paimon-common/src/main/java/org/apache/paimon/utils/InternalRowPartitionComputer.java
@@ -109,9 +109,9 @@ public class InternalRowPartitionComputer {
Map<String, String> spec, RowType partType, String
defaultPartValue) {
checkArgument(
spec.size() == partType.getFieldCount(),
- "Partition spec size %s not match partition field count %s",
- spec.size(),
- partType.getFieldCount());
+ "Partition spec %s size not match partition type %s",
+ spec,
+ partType);
GenericRow partRow = new GenericRow(spec.size());
List<String> fieldNames = partType.getFieldNames();
for (Map.Entry<String, String> entry : spec.entrySet()) {