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

morningman 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 7ed888db511 [fix](thrift) ensure forward compatibility of the thrift 
protocol (#55621)
7ed888db511 is described below

commit 7ed888db511a12e110315b5d216ae1cb2250fba2
Author: Socrates <[email protected]>
AuthorDate: Sat Sep 13 07:47:28 2025 +0800

    [fix](thrift) ensure forward compatibility of the thrift protocol (#55621)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #55603
---
 gensrc/thrift/PlanNodes.thrift | 6 ++++--
 gensrc/thrift/Types.thrift     | 5 +++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gensrc/thrift/PlanNodes.thrift b/gensrc/thrift/PlanNodes.thrift
index 967eba42479..4ce7b4770d6 100644
--- a/gensrc/thrift/PlanNodes.thrift
+++ b/gensrc/thrift/PlanNodes.thrift
@@ -540,8 +540,10 @@ struct TDataGenScanRange {
 
 // deprecated
 struct TIcebergMetadataParams {
-  1: optional string serialized_task
-  2: optional map<string, string> hadoop_props
+  1: optional Types.TIcebergQueryType iceberg_query_type
+  2: optional string catalog
+  3: optional string database
+  4: optional string table
 }
 
 // deprecated
diff --git a/gensrc/thrift/Types.thrift b/gensrc/thrift/Types.thrift
index 50da868cb0a..08fbf0c2cb8 100644
--- a/gensrc/thrift/Types.thrift
+++ b/gensrc/thrift/Types.thrift
@@ -758,6 +758,11 @@ enum TMetadataType {
   PAIMON = 12,
 }
 
+// deprecated
+enum TIcebergQueryType {
+  SNAPSHOTS
+}
+
 enum THudiQueryType {
   TIMELINE = 0
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to