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

Method AsyncThreadedTableReader

cpp/src/arrow/csv/reader.cc:1026–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024 using BaseTableReader::BaseTableReader;
1025
1026 AsyncThreadedTableReader(io::IOContext io_context,
1027 std::shared_ptr<io::InputStream> input,
1028 const ReadOptions& read_options,
1029 const ParseOptions& parse_options,
1030 const ConvertOptions& convert_options, Executor* cpu_executor)
1031 // Count rows is currently not supported during parallel read
1032 : BaseTableReader(std::move(io_context), input, read_options, parse_options,
1033 convert_options, /*count_rows=*/false),
1034 cpu_executor_(cpu_executor) {}
1035
1036 // XXX Ideally we can create a child StopToken for the tasks spawned here, and
1037 // request cancellation in our destructor, to avoid running superfluous tasks

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected