[HUDI-869] Add support for alluxio (#1608)
This commit is contained in:
@@ -45,7 +45,9 @@ public enum StorageSchemes {
|
||||
// Aliyun OSS
|
||||
OSS("oss", false),
|
||||
// View FS for federated setups. If federating across cloud stores, then append support is false
|
||||
VIEWFS("viewfs", true);
|
||||
VIEWFS("viewfs", true),
|
||||
//ALLUXIO
|
||||
ALLUXIO("alluxio", false);
|
||||
|
||||
private String scheme;
|
||||
private boolean supportsAppend;
|
||||
|
||||
@@ -42,6 +42,7 @@ public class TestStorageSchemes {
|
||||
assertFalse(StorageSchemes.isAppendSupported("abfs"));
|
||||
assertFalse(StorageSchemes.isAppendSupported("oss"));
|
||||
assertTrue(StorageSchemes.isAppendSupported("viewfs"));
|
||||
assertFalse(StorageSchemes.isAppendSupported("alluxio"));
|
||||
assertThrows(IllegalArgumentException.class, () -> {
|
||||
StorageSchemes.isAppendSupported("s2");
|
||||
}, "Should throw exception for unsupported schemes");
|
||||
|
||||
Reference in New Issue
Block a user