10000 fix query performance regression (#20014) · SwathyPraveen/arangodb@2ed3a30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ed3a30

Browse files
authored
fix query performance regression (arangodb#20014)
1 parent 922a6ed commit 2ed3a30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arangod/Aql/IndexExecutor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ IndexExecutor::CursorReader::CursorReader(
397397
: infos.isLateMaterialized() ? Type::LateMaterialized
398398
: (!infos.getProduceResult() && !infos.getFilter()) ? Type::NoResult
399399
: (infos.getProjections().usesCoveringIndex(index) &&
400-
infos.getFilterProjections().usesCoveringIndex(index))
400+
(infos.getFilterProjections().usesCoveringIndex(index) ||
401+
infos.getFilterProjections().empty()))
401402
? Type::Covering
402403
: infos.getFilterProjections().usesCoveringIndex(index)
403404
? Type::CoveringFilterOnly

0 commit comments

Comments
 (0)
0