From c985511b2e2f9ba3c10cc53f3448551b216df9a9 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Wed, 10 Nov 2021 10:34:03 +0800 Subject: [PATCH] fix json tag can not export to file --- src/kit/shell/src/shellEngine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kit/shell/src/shellEngine.c b/src/kit/shell/src/shellEngine.c index 864e179ddc..a6cc5a76cb 100644 --- a/src/kit/shell/src/shellEngine.c +++ b/src/kit/shell/src/shellEngine.c @@ -501,6 +501,7 @@ static void dumpFieldToFile(FILE* fp, const char* val, TAOS_FIELD* field, int32_ break; case TSDB_DATA_TYPE_BINARY: case TSDB_DATA_TYPE_NCHAR: + case TSDB_DATA_TYPE_JSON: memcpy(buf, val, length); buf[length] = 0; fprintf(fp, "\'%s\'", buf); -- GitLab