| 170 | } |
| 171 | |
| 172 | void PythonAggregate::addSingleGroupRawInput( |
| 173 | char* group, |
| 174 | const SelectivityVector& rows, |
| 175 | const std::vector<VectorPtr>& args, |
| 176 | [[maybe_unused]] bool mayPushdown) { |
| 177 | if (!rows.hasSelections()) { |
| 178 | return; |
| 179 | } |
| 180 | |
| 181 | pybind11::object rhs = [&]() { |
| 182 | pybind11::list columns; |
| 183 | for (auto& vec : args) { |
| 184 | vec->loadedVector(); |
| 185 | columns.append(pybind11::cast(vec)); |
| 186 | } |
| 187 | return aggregate(aggregatorClass_, std::move(columns)); |
| 188 | }(); |
| 189 | |
| 190 | auto& lhs = *value<std::unique_ptr<pybind11::object>>(group); |
| 191 | accumulate(*lhs, rhs); |
| 192 | } |
| 193 | |
| 194 | void PythonAggregate::addRawInput( |
| 195 | char** groups, |
nothing calls this directly
no test coverage detected