From 2964542617f070ecf6a6b6f1fa09ae08503daad2 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 20 May 2022 22:45:43 +0800 Subject: [PATCH] fix(query): ignore the check of qualified table id. --- source/libs/executor/src/executor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/libs/executor/src/executor.c b/source/libs/executor/src/executor.c index 6d308d7221..79b177fc45 100644 --- a/source/libs/executor/src/executor.c +++ b/source/libs/executor/src/executor.c @@ -169,13 +169,9 @@ int32_t qUpdateQualifiedTableId(qTaskInfo_t tinfo, const SArray* tableIdList, bo qDebug(" %d qualified child tables added into stream scanner", (int32_t)taosArrayGetSize(qa)); code = tqReadHandleAddTbUidList(pScanInfo->streamBlockReader, qa); taosArrayDestroy(qa); - } else { // remove the table id in current list - SArray* qa = filterQualifiedChildTables(pScanInfo, tableIdList); - qDebug(" %d remove child tables from the stream scanner", (int32_t)taosArrayGetSize(tableIdList)); - code = tqReadHandleAddTbUidList(pScanInfo->streamBlockReader, tableIdList); - taosArrayDestroy(qa); + code = tqReadHandleRemoveTbUidList(pScanInfo->streamBlockReader, tableIdList); } return code;