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()

exp()

quarter()

approx_distinct()

acos()

filter()

radians()

approx_most_frequent()

array_constructor()

floor()

rand()

approx_percentile()

array_distinct()

format_datetime()

random()

approx_set()

array_duplicates()

from_base()

reduce()

arbitrary()

array_except()

from_base64()

regexp_extract()

array_agg()

array_has_duplicates()

from_hex()

regexp_extract_all()

avg()

array_intersect()

from_unixtime()

regexp_like()

bitwise_and_agg()

array_join()

greatest()

regexp_replace()

bitwise_or_agg()

array_max()

gt()

repeat()

bool_and()

array_min()

gte()

replace()

bool_or()

array_position()

hmac_sha1()

reverse()

checksum()

array_sort()

hmac_sha256()

round()

corr()

array_sum()

hmac_sha512()

rpad()

count()

arrays_overlap()

hour()

rtrim()

count_if()

asin()

in

second()

covar_pop()

atan()

infinity()

sha256()

covar_samp()

atan2()

is_finite()

sha512()

every()

between()

is_infinite()

sign()

histogram()

bit_count()

is_json_scalar()

sin()

map_agg()

bitwise_and()

is_nan()

slice()

map_union()

bitwise_arithmetic_shift_right()

is_null()

split()

max()

bitwise_left_shift()

json_array_contains()

split_part()

max_by()

bitwise_logical_shift_right()

json_array_length()

spooky_hash_v2_32()

max_data_size_for_stats()

bitwise_not()

json_extract_scalar()

spooky_hash_v2_64()

merge()

bitwise_or()

json_format()

sqrt()

min()

bitwise_right_shift()

json_size()

strpos()

min_by()

bitwise_right_shift_arithmetic()

least()

strrpos()

stddev()

bitwise_shift_left()

length()

subscript()

stddev_pop()

bitwise_xor()

like()

substr()

stddev_samp()

cardinality()

ln()

tan()

sum()

cbrt()

log10()

tanh()

var_pop()

ceil()

log2()

to_base()

var_samp()

ceiling()

lower()

to_base64()

variance()

chr()

lpad()

to_hex()

clamp()

lt()

to_unixtime()

codepoint()

lte()

to_utf8()

combinations()

ltrim()

transform()

concat()

map()

transform_keys()

contains()

map_concat()

transform_values()

cos()

map_entries()

trim()

cosh()

map_filter()

truncate()

crc32()

map_keys()

upper()

date_add()

map_values()

url_decode()

date_diff()

map_zip_with()

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()

week()

distinct_from()

negate()

week_of_year()

divide()

neq()

width_bucket()

dow()

not

xxhash64()

doy()

parse_datetime()

year()

e()

pi()

year_of_week()

element_at()

plus()

yow()

empty_approx_set()

pow()

zip()

eq()

power()

zip_with()