Merge pull request #15778 from taosdata/fix/TD-18139

fix: fix sma filter for scalar mode
This commit is contained in:
dapan1121 2022-08-06 08:31:31 +08:00 committed by GitHub
commit 67e2f901fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -3246,6 +3246,10 @@ _return:
}
bool filterRangeExecute(SFilterInfo *info, SColumnDataAgg *pDataStatis, int32_t numOfCols, int32_t numOfRows) {
if (info->scalarMode) {
return true;
}
if (FILTER_EMPTY_RES(info)) {
return false;
}