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

Function WriteTable

cpp/src/parquet/arrow/writer.cc:603–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603Status WriteTable(const ::arrow::Table& table, ::arrow::MemoryPool* pool,
604 std::shared_ptr<::arrow::io::OutputStream> sink, int64_t chunk_size,
605 std::shared_ptr<WriterProperties> properties,
606 std::shared_ptr<ArrowWriterProperties> arrow_properties) {
607 std::unique_ptr<FileWriter> writer;
608 ARROW_ASSIGN_OR_RAISE(
609 writer, FileWriter::Open(*table.schema(), pool, std::move(sink),
610 std::move(properties), std::move(arrow_properties)));
611 RETURN_NOT_OK(writer->WriteTable(table, chunk_size));
612 return writer->Close();
613}
614
615} // namespace parquet::arrow

Callers 15

WriteColumnFunction · 0.70
WriteTableToBufferFunction · 0.70
DoRoundtripFunction · 0.70
RoundTripSingleColumnMethod · 0.70
TYPED_TESTFunction · 0.70
TEST_FFunction · 0.70
TESTFunction · 0.70
TEST_PFunction · 0.70
DoMainFunction · 0.70
BM_WriteColumnFunction · 0.70

Calls 4

ARROW_ASSIGN_OR_RAISEFunction · 0.70
schemaMethod · 0.45
WriteTableMethod · 0.45
CloseMethod · 0.45

Tested by 10

WriteTableToBufferFunction · 0.56
DoRoundtripFunction · 0.56
RoundTripSingleColumnMethod · 0.56
TYPED_TESTFunction · 0.56
TEST_FFunction · 0.56
TESTFunction · 0.56
TEST_PFunction · 0.56
WriteTableToBufferFunction · 0.40