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 7e768c0443 [core] Remove unnecessary toString call in 
`DataFilePathFactoryTest` (#4924)
7e768c0443 is described below

commit 7e768c0443c35318b9c634c2388dd2d336e6b31b
Author: chenjian2664 <[email protected]>
AuthorDate: Thu Jan 16 23:25:05 2025 +0800

    [core] Remove unnecessary toString call in `DataFilePathFactoryTest` (#4924)
---
 .../src/test/java/org/apache/paimon/io/DataFilePathFactoryTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/paimon-core/src/test/java/org/apache/paimon/io/DataFilePathFactoryTest.java 
b/paimon-core/src/test/java/org/apache/paimon/io/DataFilePathFactoryTest.java
index c406ae24f7..0c4833686f 100644
--- 
a/paimon-core/src/test/java/org/apache/paimon/io/DataFilePathFactoryTest.java
+++ 
b/paimon-core/src/test/java/org/apache/paimon/io/DataFilePathFactoryTest.java
@@ -36,7 +36,7 @@ public class DataFilePathFactoryTest {
         DataFilePathFactory pathFactory =
                 new DataFilePathFactory(
                         new Path(tempDir + "/bucket-123"),
-                        CoreOptions.FILE_FORMAT.defaultValue().toString(),
+                        CoreOptions.FILE_FORMAT.defaultValue(),
                         CoreOptions.DATA_FILE_PREFIX.defaultValue(),
                         CoreOptions.CHANGELOG_FILE_PREFIX.defaultValue(),
                         
CoreOptions.FILE_SUFFIX_INCLUDE_COMPRESSION.defaultValue(),
@@ -66,7 +66,7 @@ public class DataFilePathFactoryTest {
         DataFilePathFactory pathFactory =
                 new DataFilePathFactory(
                         new Path(tempDir + "/dt=20211224/bucket-123"),
-                        CoreOptions.FILE_FORMAT.defaultValue().toString(),
+                        CoreOptions.FILE_FORMAT.defaultValue(),
                         CoreOptions.DATA_FILE_PREFIX.defaultValue(),
                         CoreOptions.CHANGELOG_FILE_PREFIX.defaultValue(),
                         
CoreOptions.FILE_SUFFIX_INCLUDE_COMPRESSION.defaultValue(),

Reply via email to