From 31a4972478058da20471164adecda74e032630fe Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 4 Nov 2022 16:29:20 +0800 Subject: [PATCH] bug fixes --- reconstruct/expr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reconstruct/expr.py b/reconstruct/expr.py index e22a4ed..9e16d61 100644 --- a/reconstruct/expr.py +++ b/reconstruct/expr.py @@ -90,7 +90,9 @@ class expr(ast_node): self.udf_map = parent.context.udf_map self.func_maps = {**builtin_func, **self.udf_map, **user_module_func} self.operators = {**builtin_operators, **self.udf_map, **user_module_func} - self.ext_aggfuncs = ['sum', 'avg', 'count', 'min', 'max', 'last', 'first', 'prev', 'next'] + self.ext_aggfuncs = ['sum', 'avg', 'count', 'min', 'max', + 'last', 'first', 'prev', 'next', 'var', + 'stddev'] def produce(self, node): from engine.utils import enlist