Skip to content

Commit 62d7923

Browse files
[HUDI-3551] Add the Oracle Cloud Infrastructure (oci) Object Storage URI scheme (#4952)
1 parent 48062a5 commit 62d7923

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

hudi-common/src/main/java/org/apache/hudi/common/fs/StorageSchemes.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

hudi-common/src/test/java/org/apache/hudi/common/fs/TestStorageSchemes.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)