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 cf883b1 commit af6d71d
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(

Check warning on line 165 in internal/core/src/exec/expression/CompareExpr.h

View check run for this annotation

Codecov / codecov/patch

internal/core/src/exec/expression/CompareExpr.h#L165

Added line #L165 was not covered by tests
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 af6d71d

Please sign in to comment.