| 64 | } |
| 65 | |
| 66 | bytedance::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 | |
| 75 | std::vector<std::optional<StringView>> getDataFromFile() { |
| 76 | const std::string sample(getExampleFilePath("str_sort.parquet")); |
no test coverage detected