提交 868d9b61 编写于 作者: wmmhello's avatar wmmhello

TD-6129<feature> fix select * from json tag

上级 f6e19a72
......@@ -2740,7 +2740,11 @@ static void tag_project_function(SQLFunctionCtx *pCtx) {
assert(pCtx->inputBytes == pCtx->outputBytes);
tVariantDump(&pCtx->tag, pCtx->pOutput, pCtx->outputType, true);
if(IS_JSON_DATA_TYPE(pCtx->outputType)) {
tVariantDump(&pCtx->tag, pCtx->pOutput, pCtx->outputType, false);
}else {
tVariantDump(&pCtx->tag, pCtx->pOutput, pCtx->outputType, true);
}
char* data = pCtx->pOutput;
pCtx->pOutput += pCtx->outputBytes;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册