mirror of
https://github.com/apache/impala.git
synced 2026-01-03 15:00:52 -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
14 lines
399 B
Plaintext
14 lines
399 B
Plaintext
====
|
|
---- QUERY
|
|
create database if not exists native_function_test;
|
|
use native_function_test;
|
|
|
|
drop function if exists memtest(bigint);
|
|
|
|
create function memtest(bigint) returns bigint
|
|
location '$FILESYSTEM_PREFIX/test-warehouse/libTestUdfs.so' symbol='MemTest'
|
|
prepare_fn='MemTestPrepare' close_fn='MemTestClose';
|
|
|
|
select * from functional.alltypes where bigint_col > memtest(10 * 1024 * 1024)
|
|
====
|