From bdcf42a354f2aae82ad60029f18b5c98a31b2b3a Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Mon, 7 Feb 2022 10:13:37 +0800 Subject: [PATCH] [TD-11222](query): Histogram function --- src/client/src/tscSQLParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index e439e947fa..cbdb22eae2 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -3422,7 +3422,7 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col } cJSON *binDesc = cJSON_Parse(pVariant->pz); - int32_t counter; + int64_t counter; int32_t numBins; int32_t numOutput; double *intervals; -- GitLab