[TD-6443]<feature>: Support OpenTSDB HTTP JSON data import format

This commit is contained in:
Ganlin Zhao 2021-09-06 12:32:49 +08:00
parent 51e37a9d82
commit b60bab7abd
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ int32_t parseTagsFromJSON(cJSON *root, TAOS_SML_KV **pKVs, int *num_kvs, char **
cJSON *id = cJSON_GetObjectItem(tags, "ID"); cJSON *id = cJSON_GetObjectItem(tags, "ID");
if (id != NULL) { if (id != NULL) {
int32_t idLen = strlen(id->string); int32_t idLen = strlen(id->valuestring);
ret = isValidChildTableName(id->valuestring, idLen); ret = isValidChildTableName(id->valuestring, idLen);
if (ret != TSDB_CODE_SUCCESS) { if (ret != TSDB_CODE_SUCCESS) {
return ret; return ret;