| 546 | } |
| 547 | |
| 548 | Result<std::shared_ptr<Table>> DictionaryUnifier::UnifyTable(const Table& table, |
| 549 | MemoryPool* pool) { |
| 550 | ChunkedArrayVector columns = table.columns(); |
| 551 | for (auto& col : columns) { |
| 552 | ARROW_ASSIGN_OR_RAISE(col, DictionaryUnifier::UnifyChunkedArray(col, pool)); |
| 553 | } |
| 554 | return Table::Make(table.schema(), std::move(columns), table.num_rows()); |
| 555 | } |
| 556 | |
| 557 | } // namespace arrow |
nothing calls this directly
no test coverage detected