| ==== | |
| ---- QUERY | |
| drop function if exists agg_memtest(bigint); | |
| create aggregate function agg_memtest(bigint) returns bigint | |
| location '$FILESYSTEM_PREFIX/test-warehouse/libTestUdas.so' update_fn='MemTestUpdate'; | |
| select agg_memtest(bigint_col * 10 * 1024 * 1024) from functional.alltypes; | |
| ==== |