enh(query): add derivative function.

This commit is contained in:
Haojun Liao 2022-06-14 14:46:09 +08:00
parent c56be8f871
commit 5603f4a1fb
1 changed files with 10 additions and 10 deletions

View File

@ -1718,16 +1718,16 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
.invertFunc = NULL, .invertFunc = NULL,
.combineFunc = elapsedCombine, .combineFunc = elapsedCombine,
}, },
// { {
// .name = "interp", .name = "interp",
// .type = FUNCTION_TYPE_INTERP, .type = FUNCTION_TYPE_INTERP,
// .classification = FUNC_MGT_AGG_FUNC | FUNC_MGT_TIMELINE_FUNC | FUNC_MGT_INTERVAL_INTERPO_FUNC, .classification = FUNC_MGT_AGG_FUNC | FUNC_MGT_TIMELINE_FUNC | FUNC_MGT_INTERVAL_INTERPO_FUNC,
// .translateFunc = translateFirstLast, .translateFunc = translateFirstLast,
// .getEnvFunc = getSelectivityFuncEnv, .getEnvFunc = getSelectivityFuncEnv,
// .initFunc = functionSetup, .initFunc = functionSetup,
// .processFunc = interpFunction, .processFunc = NULL,
// .finalizeFunc = NULL .finalizeFunc = NULL
// }, },
{ {
.name = "derivative", .name = "derivative",
.type = FUNCTION_TYPE_DERIVATIVE, .type = FUNCTION_TYPE_DERIVATIVE,