diff --git a/src/query/src/qFilter.c b/src/query/src/qFilter.c index ab1ebfe00953542462293f978b087492b4cc9806..71683187f7777ce060c6b93e1de1e5936e45c8f4 100644 --- a/src/query/src/qFilter.c +++ b/src/query/src/qFilter.c @@ -1282,7 +1282,7 @@ int32_t filterAddUnitFromUnit(SFilterInfo *dst, SFilterInfo *src, SFilterUnit* u void *data = FILTER_UNIT_VAL_DATA(src, u); if (IS_VAR_DATA_TYPE(type)) { if (FILTER_UNIT_OPTR(u) == TSDB_RELATION_IN) { - filterAddField(dst, NULL, &data, FLD_TYPE_VALUE, &right, sizeof(SHashObj), false); + filterAddField(dst, NULL, &data, FLD_TYPE_VALUE, &right, POINTER_BYTES, false); t = FILTER_GET_FIELD(dst, right);