| 876 | } |
| 877 | |
| 878 | std::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 | |
| 890 | column_index_t exprToChannel( |
| 891 | const core::ITypedExpr* expr, |
no test coverage detected