fix(query): add exec node for lastrow query.

This commit is contained in:
Haojun Liao 2022-07-14 20:37:07 +08:00
parent 707f0a837a
commit ab6ed4bffa
1 changed files with 2 additions and 0 deletions

View File

@ -513,7 +513,9 @@ static int32_t createLastRowScanPhysiNode(SPhysiPlanContext* pCxt, SSubplan* pSu
nodesDestroyNode((SNode*)pScan);
return TSDB_CODE_OUT_OF_MEMORY;
}
pScan->groupSort = pScanLogicNode->groupSort;
vgroupInfoToNodeAddr(pScanLogicNode->pVgroupList->vgroups, &pSubplan->execNode);
return createScanPhysiNodeFinalize(pCxt, pSubplan, pScanLogicNode, (SScanPhysiNode*)pScan, pPhyNode);
}