fix(query): disable histogram to be used with indefinite rows function

in projection

TD-16948
This commit is contained in:
Ganlin Zhao 2022-07-04 15:26:44 +08:00
parent 9a484c4aac
commit 22d8c5e9ab
1 changed files with 1 additions and 1 deletions

View File

@ -2112,7 +2112,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
{
.name = "histogram",
.type = FUNCTION_TYPE_HISTOGRAM,
.classification = FUNC_MGT_AGG_FUNC | FUNC_MGT_FORBID_FILL_FUNC,
.classification = FUNC_MGT_AGG_FUNC | FUNC_MGT_INDEFINITE_ROWS_FUNC | FUNC_MGT_FORBID_FILL_FUNC,
.translateFunc = translateHistogram,
.getEnvFunc = getHistogramFuncEnv,
.initFunc = histogramFunctionSetup,