Skip to content

Commit

Permalink
thriift
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryange committed Dec 26, 2024
1 parent 5b98ebd commit a9a2675
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions gensrc/thrift/DataSinks.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -416,13 +416,19 @@ 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
3: optional string dictionary_name
4: optional i64 key_column_id
5: optional list<i64> attribute_column_ids
6: optional list<string> attribute_name
7: optional TDictLayoutType layout_type
}

struct TDataSink {
Expand Down
5 changes: 4 additions & 1 deletion gensrc/thrift/Types.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,10 @@ enum TFunctionBinaryType {

JAVA_UDF,

AGG_STATE
AGG_STATE,

// use to dict function
DICT_FUNC,
}

// Represents a fully qualified function name.
Expand Down

0 comments on commit a9a2675

Please sign in to comment.