MCPcopy Create free account
hub / github.com/apache/arrow / UnifyTable

Method UnifyTable

cpp/src/arrow/array/array_dict.cc:548–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548Result<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

Callers

nothing calls this directly

Calls 5

columnsMethod · 0.80
MakeFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50
schemaMethod · 0.45
num_rowsMethod · 0.45

Tested by

no test coverage detected