From e51e261e01f539162bff176751ab12a394796188 Mon Sep 17 00:00:00 2001 From: Liu Jicong Date: Wed, 6 Jul 2022 21:00:15 +0800 Subject: [PATCH] fix(stream): create operator --- source/libs/executor/src/scanoperator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/executor/src/scanoperator.c b/source/libs/executor/src/scanoperator.c index 2ef0b7470e..7d9889e6a1 100644 --- a/source/libs/executor/src/scanoperator.c +++ b/source/libs/executor/src/scanoperator.c @@ -1326,9 +1326,9 @@ SOperatorInfo* createStreamScanOperatorInfo(SReadHandle* pHandle, STableScanPhys pInfo->tableUid = pScanPhyNode->uid; // set the extract column id to streamHandle - tqReadHandleSetColIdList((SStreamReader*)pHandle->streamReader, pColIds); + tqReadHandleSetColIdList(pInfo->streamReader, pColIds); SArray* tableIdList = extractTableIdList(&pTaskInfo->tableqinfoList); - int32_t code = tqReadHandleSetTbUidList(pHandle->streamReader, tableIdList); + int32_t code = tqReadHandleSetTbUidList(pInfo->streamReader, tableIdList); if (code != 0) { taosArrayDestroy(tableIdList); goto _error;