From 00810d1ffdb4a95bca7ab863532bdee7c7cb98e2 Mon Sep 17 00:00:00 2001 From: slzhou Date: Fri, 26 May 2023 13:10:49 +0800 Subject: [PATCH] fix: remove udfpy.sim pycumsum part --- tests/script/tsim/query/udfpy.sim | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/script/tsim/query/udfpy.sim b/tests/script/tsim/query/udfpy.sim index 394833b4bd..2a4daedd5d 100644 --- a/tests/script/tsim/query/udfpy.sim +++ b/tests/script/tsim/query/udfpy.sim @@ -281,17 +281,17 @@ if $data20 != 8.000000000 then return -1 endi -sql create aggregate function pycumsum as '/tmp/pyudf/pycumsum.py' outputtype double bufSize 128 language 'python'; -sql select pycumsum(f2) from udf.t2 -print ======= pycumsum -print $rows $data00 -if $rows != 1 then - return -1 -endi -if $data00 != 20.000000000 then - return -1 -endi -sql drop function pycumsum +#sql create aggregate function pycumsum as '/tmp/pyudf/pycumsum.py' outputtype double bufSize 128 language 'python'; +#sql select pycumsum(f2) from udf.t2 +#print ======= pycumsum +#print $rows $data00 +#if $rows != 1 then +# return -1 +#endi +#if $data00 != 20.000000000 then +# return -1 +#endi +#sql drop function pycumsum sql create or replace function bit_and as '/tmp/udf/libbitand.so' outputtype int sql select func_version from information_schema.ins_functions where name='bit_and' -- GitLab