All functions > CORE

All functions in the CORE category.

Backend availability

DD Available DD Partially available DD Not available DD DuckDB · PG Postgres · CH ClickHouse · TR Trino · BQ BigQuery · SF Snowflake · DB Databricks · SV Serving

Semantics

FunctionDescriptionBackends
ENTITY()Returns a reference to an entity.DDPGCHTRBQSFDBSV
INPUT()Declares an input: a typed value that the query binds, such as an entity key.DDPGCHTRBQSFDBSV
KEY_TO_SCALAR()Drop the entity annotation and keep the base type and unitDDPGCHTRBQSFDBSV
KEY_PAIR()Unordered pair of two identity keys from one familyDDPGCHTRBQSFDBSV
IS_KEY_BEFORE()True when the first identity key is strictly before the secondDDPGCHTRBQSFDBSV

Bind

FunctionDescriptionBackends
BIND_VALUE()Binds the given value to the given feature.DDPGCHTRBQSFDBSV
BIND_VALUES()Binds the given array of values to the given feature or features.DDPGCHTRBQSFDBSV
BIND_COLUMNS()Binds columns from a table to the given features.DDPGCHTRBQSFDBSV
@BIND_KEYSET(...)Binds entity keys from a keyset, keyset group, or mapped source.DDPGCHTRBQSFDBSV

Structural

FunctionDescriptionBackends
RELATED()Brings a value from another entity: a lookup through a foreign key, or an aggregation of the...DDPGCHTRBQSFDBSV
UNNEST()Unnests an array of rows into a table of rowsDDPGCHTRBQSFDBSV

Types

FunctionDescriptionBackends
CAST()Returns the given expression casted to the given type, or raise an exception if the conversion...DDPGCHTRBQSFDBSV
UNSAFE_CAST()Returns the given expression casted to the given type, allowing to change or remove entity typeDDPGCHTRBQSFDBSV
NULL()Returns a NULL value of the given type.DDPGCHTRBQSFDBSV
EMPTY()Returns an EMPTY filling for empty parameters in functions.DDPGCHTRBQSFDBSV

Functions

FunctionDescriptionBackends
VARIANT()Recomputes a feature with some of its dependencies replaced by other definitions.DDPGCHTRBQSFDBSV
MACRO()Turns a feature expression into a function whose parameters are some of its inputs.DDPGCHTRBQSFDBSV
UDF()Defines a polymorphic user-defined function with typed signatures and dialect SQL expressions.DDPGCHTRBQSFDBSV

Summary
Functions in this category: 18

This documentation is automatically generated from the FeatureMesh registry.