view scheme added
This commit is contained in:
committed by
prazanna
parent
70dd7a25ea
commit
3c984447da
@@ -57,6 +57,7 @@ public class HoodieWrapperFileSystem extends FileSystem {
|
||||
// Hoodie currently relies on underlying object store being fully
|
||||
// consistent so only regional buckets should be used.
|
||||
SUPPORT_SCHEMES.add("gs");
|
||||
SUPPORT_SCHEMES.add("viewfs");
|
||||
}
|
||||
|
||||
private ConcurrentMap<String, SizeAwareFSDataOutputStream> openStreams =
|
||||
@@ -666,7 +667,7 @@ public class HoodieWrapperFileSystem extends FileSystem {
|
||||
newScheme = HOODIE_SCHEME_PREFIX + scheme;
|
||||
} else {
|
||||
throw new IllegalArgumentException(
|
||||
"BlockAlignedAvroParquetWriter does not support schema " + scheme);
|
||||
"BlockAlignedAvroParquetWriter does not support scheme " + scheme);
|
||||
}
|
||||
return newScheme;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user