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

Window Functions

abs()

eq()

power()

approx_distinct()

cume_dist()

acos()

exp()

quarter()

approx_most_frequent()

dense_rank()

all_match()

filter()

radians()

approx_percentile()

first_value()

any_match()

flatten()

rand()

approx_set()

lag()

array_average()

floor()

random()

arbitrary()

last_value()

array_constructor()

format_datetime()

reduce()

array_agg()

lead()

array_distinct()

from_base()

regexp_extract()

avg()

nth_value()

array_duplicates()

from_base64()

regexp_extract_all()

bitwise_and_agg()

ntile()

array_except()

from_base64url()

regexp_like()

bitwise_or_agg()

percent_rank()

array_frequency()

from_big_endian_32()

regexp_replace()

bool_and()

rank()

array_has_duplicates()

from_big_endian_64()

repeat()

bool_or()

row_number()

array_intersect()

from_hex()

replace()

checksum()

array_join()

from_unixtime()

reverse()

corr()

array_max()

from_utf8()

round()

count()

array_min()

greatest()

rpad()

count_if()

array_normalize()

gt()

rtrim()

covar_pop()

array_position()

gte()

second()

covar_samp()

array_sort()

hmac_md5()

sequence()

entropy()

array_sort_desc()

hmac_sha1()

sha1()

every()

array_sum()

hmac_sha256()

sha256()

histogram()

array_union()

hmac_sha512()

sha512()

kurtosis()

arrays_overlap()

hour()

shuffle()

map_agg()

asin()

in

sign()

map_union()

atan()

infinity()

sin()

map_union_sum()

atan2()

inverse_beta_cdf()

slice()

max()

beta_cdf()

is_finite()

split()

max_by()

between()

is_infinite()

split_part()

max_data_size_for_stats()

binomial_cdf()

is_json_scalar()

spooky_hash_v2_32()

merge()

bit_count()

is_nan()

spooky_hash_v2_64()

min()

bitwise_and()

is_null()

sqrt()

min_by()

bitwise_arithmetic_shift_right()

json_array_contains()

strpos()

regr_intercept()

bitwise_left_shift()

json_array_length()

strrpos()

regr_slope()

bitwise_logical_shift_right()

json_extract()

subscript()

set_agg()

bitwise_not()

json_extract_scalar()

substr()

set_union()

bitwise_or()

json_format()

tan()

skewness()

bitwise_right_shift()

json_parse()

tanh()

stddev()

bitwise_right_shift_arithmetic()

json_size()

timezone_hour()

stddev_pop()

bitwise_shift_left()

least()

timezone_minute()

stddev_samp()

bitwise_xor()

length()

to_base()

sum()

cardinality()

like()

to_base64()

sum_data_size_for_stats()

cauchy_cdf()

ln()

to_base64url()

var_pop()

cbrt()

log10()

to_big_endian_32()

var_samp()

ceil()

log2()

to_big_endian_64()

variance()

ceiling()

lower()

to_hex()

chi_squared_cdf()

lpad()

to_ieee754_64()

chr()

lt()

to_unixtime()

clamp()

lte()

to_utf8()

codepoint()

ltrim()

transform()

combinations()

map()

transform_keys()

concat()

map_concat()

transform_values()

contains()

map_entries()

trim()

cos()

map_filter()

trim_array()

cosh()

map_from_entries()

truncate()

crc32()

map_keys()

upper()

current_date()

map_values()

url_decode()

date()

map_zip_with()

url_encode()

date_add()

md5()

url_extract_fragment()

date_diff()

millisecond()

url_extract_host()

date_format()

minus()

url_extract_parameter()

date_parse()

minute()

url_extract_path()

date_trunc()

mod()

url_extract_port()

day()

month()

url_extract_protocol()

day_of_month()

multiply()

url_extract_query()

day_of_week()

nan()

week()

day_of_year()

negate()

week_of_year()

degrees()

neq()

width_bucket()

distinct_from()

none_match()

xxhash64()

divide()

normal_cdf()

year()

dow()

not

year_of_week()

doy()

parse_datetime()

yow()

e()

pi()

zip()

element_at()

plus()

zip_with()

empty_approx_set()

pow()