Presto FunctionsΒΆ

Here is a list of all scalar and aggregate Presto functions available in Velox. Function names link to function descriptions. Check out coverage maps for all and most used functions for broader context.

Scalar Functions

Aggregate Functions

abs()

element_at()

plus()

approx_distinct()

acos()

empty_approx_set()

pow()

approx_most_frequent()

array_constructor()

eq()

power()

approx_percentile()

array_distinct()

exp()

quarter()

approx_set()

array_duplicates()

filter()

radians()

arbitrary()

array_except()

floor()

rand()

array_agg()

array_intersect()

format_datetime()

random()

avg()

array_join()

from_base()

reduce()

bitwise_and_agg()

array_max()

from_base64()

regexp_extract()

bitwise_or_agg()

array_min()

from_hex()

regexp_extract_all()

bool_and()

array_position()

from_unixtime()

regexp_like()

bool_or()

array_sort()

greatest()

regexp_replace()

checksum()

array_sum()

gt()

replace()

corr()

arrays_overlap()

gte()

reverse()

count()

asin()

hour()

round()

count_if()

atan()

in

rpad()

covar_pop()

atan2()

infinity()

rtrim()

covar_samp()

between()

is_finite()

second()

every()

bit_count()

is_infinite()

sha256()

histogram()

bitwise_and()

is_json_scalar()

sha512()

map_agg()

bitwise_arithmetic_shift_right()

is_nan()

sign()

map_union()

bitwise_left_shift()

is_null()

sin()

max()

bitwise_logical_shift_right()

json_array_contains()

slice()

max_by()

bitwise_not()

json_array_length()

split()

max_data_size_for_stats()

bitwise_or()

json_extract_scalar()

split_part()

merge()

bitwise_right_shift()

least()

sqrt()

min()

bitwise_right_shift_arithmetic()

length()

strpos()

min_by()

bitwise_shift_left()

like()

subscript()

stddev()

bitwise_xor()

ln()

substr()

stddev_pop()

cardinality()

log10()

tan()

stddev_samp()

cbrt()

log2()

tanh()

sum()

ceil()

lower()

to_base()

var_pop()

ceiling()

lpad()

to_base64()

var_samp()

chr()

lt()

to_hex()

variance()

clamp()

lte()

to_unixtime()

codepoint()

ltrim()

to_utf8()

combinations()

map()

transform()

concat()

map_concat()

transform_keys()

contains()

map_concat_empty_nulls()

transform_values()

cos()

map_entries()

trim()

cosh()

map_filter()

upper()

date_add()

map_keys()

url_decode()

date_diff()

map_values()

url_encode()

date_format()

md5()

url_extract_fragment()

date_parse()

millisecond()

url_extract_host()

date_trunc()

minus()

url_extract_parameter()

day()

minute()

url_extract_path()

day_of_month()

mod()

url_extract_port()

day_of_week()

month()

url_extract_protocol()

day_of_year()

multiply()

url_extract_query()

degrees()

nan()

width_bucket()

distinct_from()

negate()

xxhash64()

divide()

neq()

year()

dow()

not

year_of_week()

doy()

parse_datetime()

yow()

e()

pi()

zip()