MCPcopy Create free account
hub / github.com/bytedance/bolt / toChannels

Function toChannels

bolt/exec/Operator.cpp:878–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878std::vector<column_index_t> toChannels(
879 const RowTypePtr& rowType,
880 const std::vector<core::TypedExprPtr>& exprs) {
881 std::vector<column_index_t> channels;
882 channels.reserve(exprs.size());
883 for (const auto& expr : exprs) {
884 auto channel = exprToChannel(expr.get(), rowType);
885 channels.push_back(channel);
886 }
887 return channels;
888}
889
890column_index_t exprToChannel(
891 const core::ITypedExpr* expr,

Callers 1

PartitionedOutputMethod · 0.85

Calls 5

exprToChannelFunction · 0.85
reserveMethod · 0.45
sizeMethod · 0.45
getMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected