diff --git a/src/query/src/qAst.c b/src/query/src/qAst.c index 44051c7e3b..05df8d95ba 100644 --- a/src/query/src/qAst.c +++ b/src/query/src/qAst.c @@ -689,7 +689,8 @@ static void tQueryIndexlessColumn(SSkipList* pSkipList, tQueryInfo* pQueryInfo, } if (addToResult) { - taosArrayPush(res, pData); + STableKeyInfo info = {.pTable = *(void**)pData, .lastKey = -1}; + taosArrayPush(res, &info); } }