static
| 33 | |
| 34 | // static |
| 35 | std::shared_ptr<const RowType> VectorMaker::rowType( |
| 36 | std::vector<std::shared_ptr<const Type>>&& types) { |
| 37 | std::vector<std::string> names; |
| 38 | for (int32_t i = 0; i < types.size(); ++i) { |
| 39 | names.push_back(fmt::format("c{}", i)); |
| 40 | } |
| 41 | return ROW(std::move(names), std::move(types)); |
| 42 | } |
| 43 | |
| 44 | RowVectorPtr VectorMaker::rowVector(const std::vector<VectorPtr>& children) { |
| 45 | std::vector<std::string> names; |
no test coverage detected