diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index a5673378f5646479ab53d638e5ff74dee9a4c879..342ad8b7610cfabeab2b7e53371330a5ff94ca13 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -2608,7 +2608,7 @@ int32_t tscParseLine(const char* sql, TAOS_SML_DATA_POINT* smlData, SSmlLinesInf return ret; } tscDebug("SML:0x%"PRIx64" Parse fields finished, num of fields:%d", info->id, smlData->fieldNum); - if (smlData->fieldNum == 0) { + if (smlData->fieldNum <= 1) { tscDebug("SML:0x%"PRIx64" Parse fields error, no field in line", info->id); taosHashCleanup(keyHashTable); return TSDB_CODE_TSC_LINE_SYNTAX_ERROR;