diff --git a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/yaml/YamlEngine.java b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/yaml/YamlEngine.java
index 6d43eee4e0704..0c78f1359bf3b 100644
--- a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/yaml/YamlEngine.java
+++ b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/yaml/YamlEngine.java
@@ -107,8 +107,8 @@ public static String marshal(final Object value) {
DumperOptions dumperOptions = new DumperOptions();
dumperOptions.setLineBreak(DumperOptions.LineBreak.getPlatformLineBreak());
if (value instanceof Collection) {
- return new Yaml(new ShardingSphereYamlRepresenter(dumperOptions)).dumpAs(value, null, DumperOptions.FlowStyle.BLOCK);
+ return new Yaml(new ShardingSphereYamlRepresenter(dumperOptions), dumperOptions).dumpAs(value, null, DumperOptions.FlowStyle.BLOCK);
}
- return new Yaml(new ShardingSphereYamlRepresenter(dumperOptions)).dumpAsMap(value);
+ return new Yaml(new ShardingSphereYamlRepresenter(dumperOptions), dumperOptions).dumpAsMap(value);
}
}
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema-postgresql.xml b/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema-postgresql.xml
index 30f535c1d9c2a..184b78a486d81 100644
--- a/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema-postgresql.xml
+++ b/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema-postgresql.xml
@@ -340,10 +340,11 @@
-
-
+
+
+