提交 c99f7cac 编写于 作者: S shenglian zhou

feat: add multiple group tsdb reads to table merge scan

上级 df130c1b
...@@ -2212,6 +2212,7 @@ int32_t startGroupTableMergeScan(SOperatorInfo* pOperator) { ...@@ -2212,6 +2212,7 @@ int32_t startGroupTableMergeScan(SOperatorInfo* pOperator) {
STableMergeScanInfo* pInfo = pOperator->info; STableMergeScanInfo* pInfo = pOperator->info;
SExecTaskInfo* pTaskInfo = pOperator->pTaskInfo; SExecTaskInfo* pTaskInfo = pOperator->pTaskInfo;
{
size_t tableListSize = taosArrayGetSize(pInfo->tableListInfo->pTableList); size_t tableListSize = taosArrayGetSize(pInfo->tableListInfo->pTableList);
int32_t i = pInfo->tableStartIndex + 1; int32_t i = pInfo->tableStartIndex + 1;
for (; i < tableListSize; ++i) { for (; i < tableListSize; ++i) {
...@@ -2221,6 +2222,7 @@ int32_t startGroupTableMergeScan(SOperatorInfo* pOperator) { ...@@ -2221,6 +2222,7 @@ int32_t startGroupTableMergeScan(SOperatorInfo* pOperator) {
} }
} }
pInfo->tableEndIndex = i - 1; pInfo->tableEndIndex = i - 1;
}
int32_t tableStartIdx = pInfo->tableStartIndex; int32_t tableStartIdx = pInfo->tableStartIndex;
int32_t tableEndIdx = pInfo->tableEndIndex; int32_t tableEndIdx = pInfo->tableEndIndex;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册