[feature](multicatalog) enable doris hive/iceberg catalog to read data on tencent GooseFS (#18685)
This commit is contained in:
@ -81,6 +81,7 @@ public class FeConstants {
|
||||
public static String FS_PREFIX_COS = "cos";
|
||||
public static String FS_PREFIX_OBS = "obs";
|
||||
public static String FS_PREFIX_OFS = "ofs";
|
||||
public static String FS_PREFIX_GFS = "gfs";
|
||||
public static String FS_PREFIX_JFS = "jfs";
|
||||
public static String FS_PREFIX_HDFS = "hdfs";
|
||||
public static String FS_PREFIX_FILE = "file";
|
||||
|
||||
@ -101,6 +101,8 @@ public class HiveScanProvider extends HMSTableScanProvider {
|
||||
return TFileType.FILE_LOCAL;
|
||||
} else if (location.startsWith(FeConstants.FS_PREFIX_OFS)) {
|
||||
return TFileType.FILE_BROKER;
|
||||
} else if (location.startsWith(FeConstants.FS_PREFIX_GFS)) {
|
||||
return TFileType.FILE_BROKER;
|
||||
} else if (location.startsWith(FeConstants.FS_PREFIX_JFS)) {
|
||||
return TFileType.FILE_BROKER;
|
||||
}
|
||||
|
||||
@ -111,6 +111,8 @@ public class IcebergScanProvider extends QueryScanProvider {
|
||||
return TFileType.FILE_LOCAL;
|
||||
} else if (location.startsWith(FeConstants.FS_PREFIX_OFS)) {
|
||||
return TFileType.FILE_BROKER;
|
||||
} else if (location.startsWith(FeConstants.FS_PREFIX_GFS)) {
|
||||
return TFileType.FILE_BROKER;
|
||||
} else if (location.startsWith(FeConstants.FS_PREFIX_JFS)) {
|
||||
return TFileType.FILE_BROKER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user