This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-trino.git


The following commit(s) were added to refs/heads/main by this push:
     new 41f87df  Throw exception for listDirectories in trino 422
41f87df is described below

commit 41f87dffab8cc37f64fced3101d05035bfe8d839
Author: Jingsong <[email protected]>
AuthorDate: Sat Apr 13 15:31:48 2024 +0800

    Throw exception for listDirectories in trino 422
---
 .../src/main/java/org/apache/paimon/trino/fileio/TrinoFileIO.java    | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/paimon-trino-422/src/main/java/org/apache/paimon/trino/fileio/TrinoFileIO.java
 
b/paimon-trino-422/src/main/java/org/apache/paimon/trino/fileio/TrinoFileIO.java
index 94290ee..97625a6 100644
--- 
a/paimon-trino-422/src/main/java/org/apache/paimon/trino/fileio/TrinoFileIO.java
+++ 
b/paimon-trino-422/src/main/java/org/apache/paimon/trino/fileio/TrinoFileIO.java
@@ -107,6 +107,11 @@ public class TrinoFileIO implements FileIO {
         return fileStatusList.toArray(new FileStatus[0]);
     }
 
+    @Override
+    public FileStatus[] listDirectories(Path path) throws IOException {
+        throw new UnsupportedOperationException();
+    }
+
     @Override
     public boolean exists(Path path) throws IOException {
         return 
trinoFileSystem.directoryExists(Location.of(path.toString())).orElse(false)

Reply via email to