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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7526b9c3a3e [fix](inverted index) add a sequence number to an enum 
variable (#44605)
7526b9c3a3e is described below

commit 7526b9c3a3e5f4e477cda5615d7943ed0d34f11a
Author: Sun Chenyang <suncheny...@selectdb.com>
AuthorDate: Mon Dec 2 11:27:17 2024 +0800

    [fix](inverted index) add a sequence number to an enum variable (#44605)
    
    Related PR: #36757
    
    Problem Summary:
    add a sequence number to an enum variable
---
 gensrc/thrift/Types.thrift | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gensrc/thrift/Types.thrift b/gensrc/thrift/Types.thrift
index 235c1cb2837..1912f950587 100644
--- a/gensrc/thrift/Types.thrift
+++ b/gensrc/thrift/Types.thrift
@@ -122,9 +122,9 @@ enum TStorageBackendType {
 // This enum is used to distinguish between different organizational methods
 // of inverted index data, affecting how the index is stored and accessed.
 enum TInvertedIndexFileStorageFormat {
-    DEFAULT, // Default format, unspecified storage method.
-    V1,      // Index per idx: Each index is stored separately based on its 
identifier.
-    V2       // Segment id per idx: Indexes are organized based on segment 
identifiers, grouping indexes by their associated segment.
+    DEFAULT = 0, // Default format, unspecified storage method.
+    V1 = 1,      // Index per idx: Each index is stored separately based on 
its identifier.
+    V2 = 2      // Segment id per idx: Indexes are organized based on segment 
identifiers, grouping indexes by their associated segment.
 }
 
 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