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 8eb430a2de [test] do not overwrite options when test format table 
(#5256)
8eb430a2de is described below

commit 8eb430a2deeac8fddea7805fc1049edfdb77d525
Author: kevin <[email protected]>
AuthorDate: Tue Mar 11 18:00:49 2025 +0800

    [test] do not overwrite options when test format table (#5256)
    
    * support formatted table options can be extended
    
    * fix checkstyle
    
    ---------
    
    Co-authored-by: 轻为 <[email protected]>
---
 .../src/test/java/org/apache/paimon/catalog/CatalogTestBase.java  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java 
b/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java
index d400df6f04..40122ef70d 100644
--- a/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java
+++ b/paimon-core/src/test/java/org/apache/paimon/catalog/CatalogTestBase.java
@@ -1194,7 +1194,7 @@ public abstract class CatalogTestBase {
                 Schema.newBuilder()
                         .column("str", DataTypes.STRING())
                         .column("int", DataTypes.INT())
-                        .option("type", "format-table")
+                        .options(getFormatTableOptions())
                         .option("file.format", "csv")
                         .build();
         catalog.createTable(identifier, schema, false);
@@ -1568,4 +1568,10 @@ public abstract class CatalogTestBase {
                     .containsExactlyInAnyOrder(partitionSpecs);
         }
     }
+
+    protected Map<String, String> getFormatTableOptions() {
+        Map<String, String> options = new HashMap<>(1);
+        options.put("type", "format-table");
+        return options;
+    }
 }

Reply via email to