Skip to content

Commit 3550592

Browse files
branch-3.1: [fix](thrift) ensure forward compatibility of the thrift protocol (#55603)
1 parent d545df8 commit 3550592

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

gensrc/thrift/PlanNodes.thrift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,10 @@ struct TDataGenScanRange {
553553

554554
// deprecated
555555
struct TIcebergMetadataParams {
556-
1: optional string serialized_task
557-
2: optional map<string, string> hadoop_props
556+
1: optional Types.TIcebergQueryType iceberg_query_type
557+
2: optional string catalog
558+
3: optional string database
559+
4: optional string table
558560
}
559561

560562
// deprecated

gensrc/thrift/Types.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,11 @@ enum TMetadataType {
755755
PAIMON
756756
}
757757

758+
// deprecated
759+
enum TIcebergQueryType {
760+
SNAPSHOTS
761+
}
762+
758763
enum THudiQueryType {
759764
TIMELINE
760765
}

0 commit comments

Comments
 (0)