Skip to content

Commit

Permalink
AER-6791 - allow set filters on aggregations and background queries (…
Browse files Browse the repository at this point in the history
…like on basic queries) when the query uses a secondary index on the whole namespace.
  • Loading branch information
gooding470 committed Jan 15, 2025
1 parent 6785673 commit 107560b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions as/src/query/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ aggr_query_job_reduce_cb(as_index_ref* r_ref, int64_t bval, void* udata)

as_index* r = r_ref->r;

if (_job->si == NULL && excluded_set(r, _job->set_id)) {
if (excluded_set(r, _job->set_id)) {
as_record_done(r_ref, ns);
return true;
}
Expand Down Expand Up @@ -2732,7 +2732,7 @@ udf_bg_query_job_reduce_cb(as_index_ref* r_ref, int64_t bval, void* udata)

as_index* r = r_ref->r;

if (_job->si == NULL && excluded_set(r, _job->set_id)) {
if (excluded_set(r, _job->set_id)) {
as_record_done(r_ref, ns);
return true;
}
Expand Down Expand Up @@ -3133,7 +3133,7 @@ ops_bg_query_job_reduce_cb(as_index_ref* r_ref, int64_t bval, void* udata)

as_index* r = r_ref->r;

if (_job->si == NULL && excluded_set(r, _job->set_id)) {
if (excluded_set(r, _job->set_id)) {
as_record_done(r_ref, ns);
return true;
}
Expand Down

0 comments on commit 107560b

Please sign in to comment.