refactor: add dynamic prune for last partial.

This commit is contained in:
Haojun Liao 2022-08-02 14:26:54 +08:00
parent 770cc74e7f
commit be51233c24
1 changed files with 1 additions and 0 deletions

View File

@ -2343,6 +2343,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
.type = FUNCTION_TYPE_LAST_PARTIAL,
.classification = FUNC_MGT_AGG_FUNC | FUNC_MGT_SELECT_FUNC | FUNC_MGT_MULTI_RES_FUNC | FUNC_MGT_IMPLICIT_TS_FUNC,
.translateFunc = translateFirstLastPartial,
.dynDataRequiredFunc = lastDynDataReq,
.getEnvFunc = getFirstLastFuncEnv,
.initFunc = functionSetup,
.processFunc = lastFunction,