Trino Functions
Lambda Functions
reduce_agg
Reduces all input values into a single value. inputFunction will be invoked for each non-null input value. In addition to taking the input value, inputFunction takes the current state, initially initialState, and returns the new state. combineFunction will be invoked to combine two states into a new state. The final state is returned.
Supported Signatures
regexp_replace
Removes every instance of the substring matched by the regular expression pattern from string.
Examples:
examples.sql
Supported Signatures