From 812febeb1fe2d5b8cf0c5272b73389e00f974493 Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Sat, 7 May 2022 15:29:58 +0800 Subject: [PATCH] fix: make least-squares buffer large enough to hold json result --- src/query/inc/qAggMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/inc/qAggMain.h b/src/query/inc/qAggMain.h index 8c650f11d8..edd13ea962 100644 --- a/src/query/inc/qAggMain.h +++ b/src/query/inc/qAggMain.h @@ -105,7 +105,7 @@ extern "C" { #define TSDB_BASE_FUNC_MO TSDB_FUNCSTATE_MO | TSDB_FUNCSTATE_STREAM | TSDB_FUNCSTATE_STABLE | TSDB_FUNCSTATE_OF #define TSDB_FUNCTIONS_NAME_MAX_LENGTH 16 -#define TSDB_AVG_FUNCTION_INTER_BUFFER_SIZE 50 +#define TSDB_AVG_FUNCTION_INTER_BUFFER_SIZE 128 #define DATA_SET_FLAG ',' // to denote the output area has data, not null value #define DATA_SET_FLAG_SIZE sizeof(DATA_SET_FLAG) -- GitLab