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

Function WriteIpcData

cpp/src/arrow/dataset/scanner_test.cc:880–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void WriteIpcData(const std::string& path,
881 const std::shared_ptr<fs::FileSystem> file_system,
882 const std::shared_ptr<Table> input) {
883 EXPECT_OK_AND_ASSIGN(auto out_stream, file_system->OpenOutputStream(path));
884 ASSERT_OK_AND_ASSIGN(
885 auto file_writer,
886 MakeFileWriter(out_stream, input->schema(), ipc::IpcWriteOptions::Defaults()));
887 ASSERT_OK(file_writer->WriteTable(*input));
888 ASSERT_OK(file_writer->Close());
889}
890
891struct TestScannerParams {
892 bool use_threads;

Callers 1

TESTFunction · 0.70

Calls 2

WriteTableMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected