MCPcopy Create free account
hub / github.com/bytedance/bolt / createReader

Function createReader

bolt/exec/benchmarks/RowContainerSortBenchmark.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66bytedance::bolt::parquet::ParquetReader createReader(
67 const std::string& path,
68 const bytedance::bolt::dwio::common::ReaderOptions& opts) {
69 return bytedance::bolt::parquet::ParquetReader(
70 std::make_unique<bytedance::bolt::dwio::common::BufferedInput>(
71 std::make_shared<LocalReadFile>(path), opts.getMemoryPool()),
72 opts);
73}
74
75std::vector<std::optional<StringView>> getDataFromFile() {
76 const std::string sample(getExampleFilePath("str_sort.parquet"));

Callers 1

getDataFromFileFunction · 0.70

Calls 1

ParquetReaderClass · 0.85

Tested by

no test coverage detected