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

fix group by json tag format [change json type with qid return logic]

上级 5716201e
......@@ -3686,6 +3686,10 @@ TAOS_ROW doSetResultRowData(SSqlObj *pSql) {
int32_t type = pInfo->field.type;
int32_t bytes = pInfo->field.bytes;
if(type == TSDB_DATA_TYPE_JSON && pInfo->fieldJson.type != TSDB_DATA_TYPE_JSON){
type = pInfo->fieldJson.type;
bytes = pInfo->fieldJson.bytes;
}
if (!IS_VAR_DATA_TYPE(type) && type != TSDB_DATA_TYPE_JSON) {
pRes->tsrow[j] = isNull(pRes->urow[i], type) ? NULL : pRes->urow[i];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册