Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: chasingegg <[email protected]>
  • Loading branch information
chasingegg committed Dec 25, 2024
1 parent b5d4cc1 commit 1342f38
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions internal/core/src/query/PlanProto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,14 @@ ProtoParser::PlanNodeFromProto(const planpb::PlanNode& plan_node_proto) {
}
if (!search_info.iterative_filter_execution &&
search_info.search_params_.contains(HINTS)) {
search_info.iterative_filter_execution =
(search_info.search_params_[HINTS] == ITERATIVE_FILTER);
if (search_info.search_params_[HINTS] == ITERATIVE_FILTER) {
search_info.iterative_filter_execution = true;

Check warning on line 71 in internal/core/src/query/PlanProto.cpp

View check run for this annotation

Codecov / codecov/patch

internal/core/src/query/PlanProto.cpp#L70-L71

Added lines #L70 - L71 were not covered by tests
} else {
// check if hints is valid
PanicInfo(ConfigInvalid,

Check warning on line 74 in internal/core/src/query/PlanProto.cpp

View check run for this annotation

Codecov / codecov/patch

internal/core/src/query/PlanProto.cpp#L74

Added line #L74 was not covered by tests
"hints: {} not supported",
search_info.search_params_[HINTS]);
}
}
}

Expand Down

0 comments on commit 1342f38

Please sign in to comment.