Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion be/src/pipeline/pipeline_fragment_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,17 @@ Status PipelineFragmentContext::_create_sink(int sender_id, const TDataSink& thr
_multi_cast_stream_sink_senders.resize(sender_size);
for (int i = 0; i < sender_size; ++i) {
auto new_pipeline = add_pipeline();

auto row_desc =
!thrift_sink.multi_cast_stream_sink.sinks[i].output_exprs.empty()
? RowDescriptor(
_runtime_state->desc_tbl(),
{thrift_sink.multi_cast_stream_sink.sinks[i].output_tuple_id},
{false})
: sink_->row_desc();
// 1. create the data stream sender sink
_multi_cast_stream_sink_senders[i].reset(new vectorized::VDataStreamSender(
_runtime_state.get(), _runtime_state->obj_pool(), sender_id, sink_->row_desc(),
_runtime_state.get(), _runtime_state->obj_pool(), sender_id, row_desc,
thrift_sink.multi_cast_stream_sink.sinks[i],
thrift_sink.multi_cast_stream_sink.destinations[i], 16 * 1024, false));

Expand Down