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

TD-6129<feature> support null true false for json tag

上级 ed38d389
......@@ -5302,8 +5302,9 @@ end:
int parseJsontoTagData(char* json, SKVRowBuilder* kvRowBuilder, char* errMsg, int16_t startColId){
if (strtrim(json) == 0 || strcasecmp(json, "null") == 0){
int8_t typeVal = TSDB_DATA_JSON_NULL;
uint8_t typeVal = TSDB_DATA_JSON_NULL;
tdAddColToKVRow(kvRowBuilder, startColId++, TSDB_DATA_TYPE_JSON, &typeVal, false); // add json type
return TSDB_CODE_SUCCESS;
}else{
int8_t typeVal = TSDB_DATA_JSON_OBJECT;
tdAddColToKVRow(kvRowBuilder, startColId++, TSDB_DATA_TYPE_JSON, &typeVal, false); // add json type
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册