Merge pull request #16764 from taosdata/feature/3_liaohj
fix(query): add data required flag for avg against super table.
This commit is contained in:
commit
26a27261a0
|
@ -2175,6 +2175,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
|
||||||
.type = FUNCTION_TYPE_AVG_PARTIAL,
|
.type = FUNCTION_TYPE_AVG_PARTIAL,
|
||||||
.classification = FUNC_MGT_AGG_FUNC,
|
.classification = FUNC_MGT_AGG_FUNC,
|
||||||
.translateFunc = translateAvgPartial,
|
.translateFunc = translateAvgPartial,
|
||||||
|
.dataRequiredFunc = statisDataRequired,
|
||||||
.getEnvFunc = getAvgFuncEnv,
|
.getEnvFunc = getAvgFuncEnv,
|
||||||
.initFunc = avgFunctionSetup,
|
.initFunc = avgFunctionSetup,
|
||||||
.processFunc = avgFunction,
|
.processFunc = avgFunction,
|
||||||
|
|
Loading…
Reference in New Issue