diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index b7f007fce66afc477770f4916267e1ab16fba1d0..cf80adf5249e33009f4637cb0e8de62eac8c29bb 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -3844,7 +3844,7 @@ static int32_t addValToKVRow(STranslateContext* pCxt, SValueNode* pVal, const SS if (pVal->node.resType.type == TSDB_DATA_TYPE_NULL) { // todo } else { - tdAddColToKVRow(pBuilder, pSchema->colId, &(pVal->datum.p), + tdAddColToKVRow(pBuilder, pSchema->colId, nodesGetValueFromNode(pVal), IS_VAR_DATA_TYPE(pSchema->type) ? varDataTLen(pVal->datum.p) : TYPE_BYTES[pSchema->type]); }