mirror of
https://github.com/apache/impala.git
synced 2026-01-02 21:00:35 -05:00
As needed, fix up file paths and other misc things to get more test cases running against S3. Change-Id: If4eaf9200f2abd17074080a37cd0225d977200ad Reviewed-on: http://gerrit.cloudera.org:8080/167 Reviewed-by: Dan Hecht <dhecht@cloudera.com> Tested-by: Internal Jenkins
13 lines
371 B
Plaintext
13 lines
371 B
Plaintext
====
|
|
---- QUERY
|
|
create database if not exists native_function_test;
|
|
use native_function_test;
|
|
|
|
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;
|
|
====
|