Skip to content

Commit 6079ceb

Browse files
mergify[bot]fresh-borzonistdpain
authored
[UT] Fix wrong conjunct used for TestEmptyNullCountsInColumnIndex (backport #68513) (#68701)
Signed-off-by: stdpain <34912776+stdpain@users.noreply.github.com> Co-authored-by: Anton Borisov <148864665+fresh-borzoni@users.noreply.github.com> Co-authored-by: stdpain <34912776+stdpain@users.noreply.github.com>
1 parent dd9ad67 commit 6079ceb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

be/test/formats/parquet/page_index_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ TEST_F(PageIndexTest, TestEmptyNullCountsInColumnIndex) {
662662

663663
std::vector<TExpr> t_conjuncts;
664664
// id > 2, this triggers page index filtering
665-
ParquetUTBase::append_int_conjunct(TExprOpcode::GT, 0, 2, &t_conjuncts);
665+
ParquetUTBase::append_bigint_conjunct(TExprOpcode::GT, 0, 2, &t_conjuncts);
666666

667667
ParquetUTBase::create_conjunct_ctxs(&_pool, _runtime_state, &t_conjuncts, &ctx->min_max_conjunct_ctxs);
668668
ParquetUTBase::create_conjunct_ctxs(&_pool, _runtime_state, &t_conjuncts, &ctx->conjunct_ctxs_by_slot[0]);
@@ -694,5 +694,4 @@ TEST_F(PageIndexTest, TestEmptyNullCountsInColumnIndex) {
694694
}
695695
EXPECT_GT(total_row_nums, 0);
696696
}
697-
698697
} // namespace starrocks::parquet

0 commit comments

Comments
 (0)