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

Function WriteTable

cpp/src/arrow/ipc/writer.cc:1243–1251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1241 }
1242
1243 Status WriteTable(const Table& table, int64_t max_chunksize) override {
1244 if (is_file_format_ && options_.unify_dictionaries) {
1245 ARROW_ASSIGN_OR_RAISE(auto unified_table,
1246 DictionaryUnifier::UnifyTable(table, options_.memory_pool));
1247 return RecordBatchWriter::WriteTable(*unified_table, max_chunksize);
1248 } else {
1249 return RecordBatchWriter::WriteTable(table, max_chunksize);
1250 }
1251 }
1252
1253 Status Close() override {
1254 RETURN_NOT_OK(CheckStarted());

Callers 11

DoWriteMethod · 0.70
WriteTableMethod · 0.70
MakeParquetObjectMethod · 0.50
WriteFullFileFunction · 0.50
GenInitialFileFunction · 0.50
RunMainFunction · 0.50
write_parquet_fileFunction · 0.50
writeMethod · 0.50

Calls

no outgoing calls

Tested by 1

DoWriteMethod · 0.56