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 49330601a2 [core] Improve parameter naming in 
HadoopSecuredFileSystem.create method (#6072)
49330601a2 is described below

commit 49330601a25ddef5bc376e33efd94053136ccd92
Author: Jiajia Li <[email protected]>
AuthorDate: Wed Aug 13 20:22:34 2025 +0800

    [core] Improve parameter naming in HadoopSecuredFileSystem.create method 
(#6072)
---
 .../paimon/fs/hadoop/HadoopSecuredFileSystem.java      | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git 
a/paimon-common/src/main/java/org/apache/paimon/fs/hadoop/HadoopSecuredFileSystem.java
 
b/paimon-common/src/main/java/org/apache/paimon/fs/hadoop/HadoopSecuredFileSystem.java
index e74bffbf68..6cc3ed0d1b 100644
--- 
a/paimon-common/src/main/java/org/apache/paimon/fs/hadoop/HadoopSecuredFileSystem.java
+++ 
b/paimon-common/src/main/java/org/apache/paimon/fs/hadoop/HadoopSecuredFileSystem.java
@@ -70,14 +70,22 @@ public class HadoopSecuredFileSystem extends FileSystem {
     public FSDataOutputStream create(
             Path path,
             FsPermission fsPermission,
-            boolean b,
-            int i,
-            short i1,
-            long l,
+            boolean overwrite,
+            int bufferSize,
+            short replication,
+            long blockSize,
             Progressable progressable)
             throws IOException {
         return runSecuredWithIOException(
-                () -> fileSystem.create(path, fsPermission, b, i, i1, l, 
progressable));
+                () ->
+                        fileSystem.create(
+                                path,
+                                fsPermission,
+                                overwrite,
+                                bufferSize,
+                                replication,
+                                blockSize,
+                                progressable));
     }
 
     @Override

Reply via email to