File tree Expand file tree Collapse file tree
main/java/org/apache/hudi/common/fs
test/java/org/apache/hudi/common/fs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,9 @@ public enum StorageSchemes {
6767 // JuiceFileSystem
6868 JFS ("jfs" , true ),
6969 // Baidu Object Storage
70- BOS ("bos" , false );
70+ BOS ("bos" , false ),
71+ // Oracle Cloud Infrastructure Object Storage
72+ OCI ("oci" , false );
7173
7274 private String scheme ;
7375 private boolean supportsAppend ;
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public void testStorageSchemes() {
4949 assertFalse (StorageSchemes .isAppendSupported ("bos" ));
5050 assertFalse (StorageSchemes .isAppendSupported ("ks3" ));
5151 assertTrue (StorageSchemes .isAppendSupported ("ofs" ));
52+ assertTrue (StorageSchemes .isAppendSupported ("oci" ));
5253 assertThrows (IllegalArgumentException .class , () -> {
5354 StorageSchemes .isAppendSupported ("s2" );
5455 }, "Should throw exception for unsupported schemes" );
You can’t perform that action at this time.
0 commit comments