OPAL Misc Functions

Miscellaneous functions are those that do not fit in the other categories.

Function

Description

asc

Specify the ordering as ascending when processing data.

coalesce

Return the first non-null argument or null if all are null.

desc

Specify the ordering as descending when processing data.

float64

Generate a float representation of the argument value.

frame

Specify the approximate relative time frame for a window context.

frame_exact

Specify the exact relative time frame for a window context.

hash

Accepts a variable number of arguments of arbitrary types and returns a signed 64-bit hash of the values.

if

Test if a condition is true or false.

if_null

Return the second argument if the first argument has the null value.

int64

Generate an integer representation of the argument value.

m_tdigest

Select a metric of type tdigest for the align verb.

nullsfirst

Specify the ordering as nulls first when processing data.

nullslast

Specify the ordering as nulls last when processing data.

on

on is a special function used to specify the join condition for some join verbs.

order_by

Specify the ordering when processing data.

parse_hex

Parses a string encoded hex number and returns an int64.

strlen

Compute the length of an input string.

tdigest_null

Returns a null value of type tdigest.

tdigest_quantile

Calculates a quantile from a TDigest state.

variant_null

Returns a null value of type variant.