Skip to content

Commit

Permalink
[feature](sink) support paritition tablet sink shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Feb 4, 2024
1 parent 1e3af61 commit 9ca608e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gensrc/thrift/DataSinks.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ struct TDataStreamSink {

// per-destination runtime filters
7: optional list<PlanNodes.TRuntimeFilterDesc> runtime_filters

// used for partition_type = PARTITION_TABLET_SINK_SHUFFLE
8: optional Descriptors.TOlapTableSchemaParam schema
9: optional Descriptors.TOlapTablePartitionParam partition
}

struct TMultiCastDataStreamSink {
Expand Down
5 changes: 4 additions & 1 deletion gensrc/thrift/Partitions.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ enum TPartitionType {

// unordered partition on a set of exprs
// (only use in bucket shuffle join)
BUCKET_SHFFULE_HASH_PARTITIONED
BUCKET_SHFFULE_HASH_PARTITIONED,

// used for shuffle data by parititon and tablet
PARTITION_TABLET_SINK_SHUFFLE
}

enum TDistributionType {
Expand Down

0 comments on commit 9ca608e

Please sign in to comment.