Skip to content

Commit

Permalink
[BugFix] Fix Compilation error with clang
Browse files Browse the repository at this point in the history
Signed-off-by: Youngwb <[email protected]>
  • Loading branch information
Youngwb committed Jan 2, 2025
1 parent 71f6649 commit 6f0b2e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion be/test/formats/parquet/file_reader_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,8 @@ TEST_F(FileReaderTest, TestGetNext) {
TEST_F(FileReaderTest, TestGetNextWithSkipID) {
int64_t ids[] = {1};
std::set<int64_t> need_skip_rowids(ids, ids + 1);
SkipRowsContextPtr skip_rows_ctx = std::make_shared<SkipRowsContext>(need_skip_rowids);
SkipRowsContextPtr skip_rows_ctx = std::make_shared<SkipRowsContext>();
skip_rows_ctx->need_skip_rowids = need_skip_rowids;
auto file = _create_file(_file1_path);
auto file_reader =
std::make_shared<FileReader>(config::vector_chunk_size, file.get(), std::filesystem::file_size(_file1_path),
Expand Down

0 comments on commit 6f0b2e3

Please sign in to comment.