==== ---- QUERY select hll(int_col) from functional.alltypestiny; ---- RESULTS '2' ---- TYPES string ==== ---- QUERY select test_count(int_col) from functional.alltypestiny; ---- RESULTS 8 ---- TYPES bigint ==== ---- QUERY select test_count(int_col) from functional.alltypesagg; ---- RESULTS 10980 ---- TYPES bigint ==== ---- QUERY select sum_small_decimal(c3) from functional.decimal_tiny; ---- RESULTS 45.00 ---- TYPES decimal ==== ---- QUERY select trunc_sum(double_col),sum(double_col) from functional_parquet.alltypes where id < 5555; ---- RESULTS 252348,252348.5 ---- TYPES bigint,double ==== ---- QUERY select arg_is_const(int_col, 1) from functional_parquet.alltypes; ---- RESULTS true ---- TYPES boolean ==== ---- QUERY # Test with even number of input rows. select toggle_null(id), count(*) from functional_parquet.alltypesagg ---- RESULTS NULL,11000 ---- TYPES int,bigint ==== ---- QUERY # Test with odd number of input rows. select toggle_null(id), count(*) from functional_parquet.alltypesagg where id <= 9998 ---- RESULTS 1,10999 ---- TYPES int,bigint ==== ---- QUERY # Test that input NULLs are passed to aggregate functions ok. select count_nulls(tinyint_col), count(*) from functional.alltypesagg ---- RESULTS 2000,11000 ---- TYPES bigint,bigint ====