From a9a26758c2d82cdda02c685788e2616ccf1b0a06 Mon Sep 17 00:00:00 2001 From: Mryange Date: Thu, 26 Dec 2024 14:10:23 +0800 Subject: [PATCH] thriift --- gensrc/thrift/DataSinks.thrift | 6 ++++++ gensrc/thrift/Types.thrift | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gensrc/thrift/DataSinks.thrift b/gensrc/thrift/DataSinks.thrift index ec01128967c3895..9f9cf57cd538889 100644 --- a/gensrc/thrift/DataSinks.thrift +++ b/gensrc/thrift/DataSinks.thrift @@ -416,6 +416,11 @@ struct TIcebergTableSink { 13: optional PlanNodes.TFileCompressType compression_type } +enum TDictLayoutType { + HASH_MAP, + IP_TRIE, +} + struct TDictSink { 1: optional i64 dictionary_id 2: optional i64 version_id @@ -423,6 +428,7 @@ struct TDictSink { 4: optional i64 key_column_id 5: optional list attribute_column_ids 6: optional list attribute_name + 7: optional TDictLayoutType layout_type } struct TDataSink { diff --git a/gensrc/thrift/Types.thrift b/gensrc/thrift/Types.thrift index 623da9ce067061f..c47fc67459bdefa 100644 --- a/gensrc/thrift/Types.thrift +++ b/gensrc/thrift/Types.thrift @@ -329,7 +329,10 @@ enum TFunctionBinaryType { JAVA_UDF, - AGG_STATE + AGG_STATE, + + // use to dict function + DICT_FUNC, } // Represents a fully qualified function name.