[Feature](broker)Support GCS (#20904)

This commit is contained in:
Calvin Kirs
2023-08-07 19:37:18 +08:00
committed by GitHub
parent 4b20f62f79
commit d1a2473944
5 changed files with 89 additions and 3 deletions

View File

@ -301,9 +301,10 @@ public class ExportStmt extends StatementBase {
&& !schema.equalsIgnoreCase("s3a")
&& !schema.equalsIgnoreCase("cosn")
&& !schema.equalsIgnoreCase("gfs")
&& !schema.equalsIgnoreCase("jfs"))) {
&& !schema.equalsIgnoreCase("jfs")
&& !schema.equalsIgnoreCase("gs"))) {
throw new AnalysisException("Invalid broker path. please use valid 'hdfs://', 'afs://' , 'bos://',"
+ " 'ofs://', 'obs://', 'oss://', 's3a://', 'cosn://', 'gfs://' or 'jfs://' path.");
+ " 'ofs://', 'obs://', 'oss://', 's3a://', 'cosn://', 'gfs://', 'gs://' or 'jfs://' path.");
}
} else if (type == StorageBackend.StorageType.S3) {
if (schema == null || !schema.equalsIgnoreCase("s3")) {