This is an automated email from the ASF dual-hosted git repository.

yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b33ab960a8 [fix] move new add enum OFS of StorageType to last (#8983)
b33ab960a8 is described below

commit b33ab960a840553d2877d56c5c051a94df71917f
Author: Zhengguo Yang <yangz...@gmail.com>
AuthorDate: Tue Apr 12 20:21:15 2022 +0800

    [fix] move new add enum OFS of StorageType to last (#8983)
    
    * [fix] move new add enum OFS of StorageType to last
    
    * modify enum in gensrc/thrift/Types.thrift
---
 .../src/main/java/org/apache/doris/analysis/StorageBackend.java      | 5 ++---
 gensrc/thrift/Types.thrift                                           | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/StorageBackend.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/StorageBackend.java
index 70b10b4f06..6cbe3ec521 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/StorageBackend.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/StorageBackend.java
@@ -111,10 +111,9 @@ public class StorageBackend extends StorageDesc implements 
ParseNode {
     public enum StorageType {
         BROKER("Doris Broker"),
         S3("Amazon S3 Simple Storage Service"),
-        OFS("Tencent CHDFS"),
-        // the following is not used currently
         HDFS("Hadoop Distributed File System"),
-        LOCAL("Local file system");
+        LOCAL("Local file system"),
+        OFS("Tencent CHDFS");
 
         private final String description;
 
diff --git a/gensrc/thrift/Types.thrift b/gensrc/thrift/Types.thrift
index 68a7160d7b..2cd74860f0 100644
--- a/gensrc/thrift/Types.thrift
+++ b/gensrc/thrift/Types.thrift
@@ -95,9 +95,9 @@ enum TTypeNodeType {
 enum TStorageBackendType {
     BROKER,
     S3,
-    OFS,
     HDFS,
-    LOCAL
+    LOCAL,
+    OFS
 }
 
 struct TScalarType {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to