| 313 | } |
| 314 | |
| 315 | std::string describeTable() { |
| 316 | std::stringstream out; |
| 317 | auto mode = topTable_->hashMode(); |
| 318 | if (mode == BaseHashTable::HashMode::kHash) { |
| 319 | out << "Multipart key "; |
| 320 | } else { |
| 321 | out |
| 322 | << (mode == BaseHashTable::HashMode::kArray ? "Array " |
| 323 | : "Normalized key "); |
| 324 | out << "("; |
| 325 | for (auto& hasher : topTable_->hashers()) { |
| 326 | out << (hasher->isRange() ? "range " : "valueIds "); |
| 327 | } |
| 328 | out << ") "; |
| 329 | } |
| 330 | out << topTable_->numDistinct() << " entries"; |
| 331 | return out.str(); |
| 332 | } |
| 333 | |
| 334 | void copyVectorsToTable( |
| 335 | const std::vector<RowVectorPtr>& batches, |
nothing calls this directly
no test coverage detected