Skip to content

Commit

Permalink
fix: Fix query failure with inverted index
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Nov 14, 2024
1 parent 1b4f7e3 commit 88d38d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/core/src/exec/expression/CompareExpr.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ class PhyCompareFilterExpr : public Expr {
GetCurrentRows() {
if (segment_chunk_reader_.segment_->is_chunked()) {
auto current_rows =
is_left_indexed_ && segment_chunk_reader_.segment_->type() ==
SegmentType::Sealed
is_left_indexed_ && segment_chunk_reader_.segment_->HasRawData(
left_field_.get())
? left_current_chunk_pos_
: segment_chunk_reader_.segment_->num_rows_until_chunk(
left_field_, left_current_chunk_id_) +
Expand Down

0 comments on commit 88d38d0

Please sign in to comment.