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

TD-6129<feature> add json tag support

上级 877266cd
......@@ -1591,7 +1591,7 @@ int32_t validateOneTag(SSqlCmd* pCmd, TAOS_FIELD* pTagField) {
// return false;
//}
if (pTagField->type == TSDB_DATA_TYPE_JSON) {
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg6);
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg8);
}
if ((pTagField->type < TSDB_DATA_TYPE_BOOL) || (pTagField->type > TSDB_DATA_TYPE_UBIGINT)) {
......@@ -1602,7 +1602,7 @@ int32_t validateOneTag(SSqlCmd* pCmd, TAOS_FIELD* pTagField) {
int32_t nLen = 0;
if (numOfTags == 1 && pTagSchema[0].type == TSDB_DATA_TYPE_JSON){
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg6);
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg8);
}
for (int32_t i = 0; i < numOfTags; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册