Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
islamaliev committed Feb 6, 2025
1 parent 0f3550e commit 4be111f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/planner/type_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ type invertibleTypeJoin struct {
parentSide joinSide
childSide joinSide

// the filter of the subnode to store in case it's replaced by an index filter
subFilter *mapper.Filter

secondaryFetchLimit uint
Expand Down
1 change: 1 addition & 0 deletions tests/integration/index/array_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func TestArrayIndex_WithFilterOnIndexedArrayUsingNone_ShouldNotUseIndex(t *testi
},
testUtils.Request{
Request: makeExplainQuery(req),
// index is not used for _none operator as it might be even less optimal than full scan
Asserter: testUtils.NewExplainAsserter().WithIndexFetches(0),
},
},
Expand Down

0 comments on commit 4be111f

Please sign in to comment.