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

Function WriteCSV

cpp/src/arrow/csv/writer.cc:721–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719} // namespace
720
721Status WriteCSV(const Table& table, const WriteOptions& options,
722 arrow::io::OutputStream* output) {
723 ARROW_ASSIGN_OR_RAISE(auto writer, MakeCSVWriter(output, table.schema(), options));
724 RETURN_NOT_OK(writer->WriteTable(table));
725 return writer->Close();
726}
727
728Status WriteCSV(const RecordBatch& batch, const WriteOptions& options,
729 arrow::io::OutputStream* output) {

Callers 9

WriteMethod · 0.85
BenchmarkWriteCsvFunction · 0.85
ToCsvStringMethod · 0.85
TESTFunction · 0.85
writeMethod · 0.85
csv___WriteCSV__TableFunction · 0.85

Calls 5

ARROW_ASSIGN_OR_RAISEFunction · 0.50
WriteTableMethod · 0.45
CloseMethod · 0.45
WriteRecordBatchMethod · 0.45
NextMethod · 0.45

Tested by 3

WriteMethod · 0.68
ToCsvStringMethod · 0.68
TESTFunction · 0.68