From 99bf202c4fb038cc27b184fa6916b80f951b5851 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Tue, 15 Mar 2022 11:37:41 +0800 Subject: [PATCH] add test cases for hyperloglog --- src/common/inc/tname.h | 4 ++-- tests/parallel_test/cases.task | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/inc/tname.h b/src/common/inc/tname.h index 9c8e31a913..6c4b54ec3c 100644 --- a/src/common/inc/tname.h +++ b/src/common/inc/tname.h @@ -54,8 +54,8 @@ typedef struct SSqlExpr { int32_t resBytes; // length of return value int32_t interBytes; // inter result buffer size - int16_t colType; // table column type, this should be int32_t, because it is too small for globale merge stage, pQueryAttr->interBytesForGlobal - int16_t colBytes; // table column bytes + int16_t colType; // table column type + int16_t colBytes; // table column bytes,it should be int32_t, because it is too small for globale merge stage, pQueryAttr->interBytesForGlobal int16_t numOfParams; // argument value of each function tVariant param[3]; // parameters are not more than 3 diff --git a/tests/parallel_test/cases.task b/tests/parallel_test/cases.task index 7a83fddaa6..ce8160ff3d 100644 --- a/tests/parallel_test/cases.task +++ b/tests/parallel_test/cases.task @@ -791,5 +791,6 @@ 3,,script,./test.sh -f general/compute/scalar_str_concat_len.sim 3,,develop-test,python3 ./test.py -f 2-query/function_tail.py 2,,develop-test,python3 ./test.py -f 2-query/function_unique.py +2,,develop-test,python3 ./test.py -f 2-query/function_hll.py 1,,develop-test,python3 ./test.py -f 2-query/function_state.py 1,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py -- GitLab