This is an automated email from the ASF dual-hosted git repository.
jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 0a4359de5 [AMORO-3961] Filter null key and value for
Configurations::toMap (#3962)
0a4359de5 is described below
commit 0a4359de5a906daafb5da57a56dccd85c3bf74ae
Author: Fei Wang <[email protected]>
AuthorDate: Tue Nov 25 00:29:11 2025 -0800
[AMORO-3961] Filter null key and value for Configurations::toMap (#3962)
filter null key value
---
amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java
b/amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java
index ec4395215..5020ef1c4 100644
--- a/amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java
+++ b/amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java
@@ -217,6 +217,7 @@ public class ConfigHelpers {
} else if (o instanceof Map) {
return ((Map<?, ?>) o)
.entrySet().stream()
+ .filter(e -> e.getKey() != null && e.getValue() != null)
.map(
e -> {
String escapedKey =