All functions > BUSINESS
All functions in the BUSINESS 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
Time Travel
| Function | Description | Backends | |||||||
|---|---|---|---|---|---|---|---|---|---|
ROW_AT_TIME() | Returns the row of a history (slowly changing dimension) in effect at the given point in time. | DD | PG | CH | TR | BQ | SF | DB | SV |
ROWS_AT_TIME() | Returns the rows of a history alive at the given point in time. | DD | PG | CH | TR | BQ | SF | DB | SV |
Growth Accounting
| Function | Description | Backends | |||||||
|---|---|---|---|---|---|---|---|---|---|
TO_ACTIVITY_BITS() | Returns the activity bits for the given array of activity dates and date reference. | DD | PG | CH | TR | BQ | SF | DB | SV |
FROM_ACTIVITY_BITS() | Returns the activity dates for the given activity bits and date reference. | DD | PG | CH | TR | BQ | SF | DB | SV |
BINARY_REPRESENTATION() | Returns the binary representation as a string of the given activity bits | DD | PG | CH | TR | BQ | SF | DB | SV |
UPDATE_ACTIVITY_BIT() | Returns the activity bits for the given activity bits and whether the current day is active. | DD | PG | CH | TR | BQ | SF | DB | SV |
IS_ACTIVE() | Returns whether the given activity bits is active for the given time period | DD | PG | CH | TR | BQ | SF | DB | SV |
ACTIVITY_STATUS() | Returns the activity status between two time periods for the given activity bits | DD | PG | CH | TR | BQ | SF | DB | SV |
COUNT_ACTIVE() | Returns the number of active days for the given activity bits and time period | DD | PG | CH | TR | BQ | SF | DB | SV |
RECENCY() | Returns the number of days since the last active day for the given activity bits | DD | PG | CH | TR | BQ | SF | DB | SV |
Experimentation
| Function | Description | Backends | |||||||
|---|---|---|---|---|---|---|---|---|---|
HASH01() | Returns a value between 0 and 1 based on the given hashing key. | DD | PG | CH | TR | BQ | SF | DB | SV |
GRADUAL_ROLLOUT() | Returns the exposure to a new version based on the given hashing key and rollout parameters. | DD | PG | CH | TR | BQ | SF | DB | SV |
Simulations
| Function | Description | Backends | |||||||
|---|---|---|---|---|---|---|---|---|---|
SAMPLE_UNIFORM() | Returns a value uniformly chosen between two bounds based on the given hashing key. | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_GAUSSIAN() | Returns a value chosen from a normal distribution between two bounds based on the given hashing key. | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_VALUE(...) | Returns a value from the given array of values and proportions based on the given hashing key. | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_BOOL() | Returns the discrete event (true or false) with the given probability based on the given hashing... | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_EXPONENTIAL() | Returns a value drawn from an exponential distribution with the given rate, based on the given... | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_POISSON() | Returns an integer drawn from a Poisson distribution with the given rate, based on the given... | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_LOGNORMAL() | Returns a value drawn from a log-normal distribution, clamped to [lower, upper], based on the given... | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_GEOMETRIC() | Returns the number of trials until first success, drawn from a geometric distribution, based on the... | DD | PG | CH | TR | BQ | SF | DB | SV |
SAMPLE_WEIBULL() | Returns a value drawn from a Weibull distribution based on the given hashing key. | DD | PG | CH | TR | BQ | SF | DB | SV |
Summary
Functions in this category: 21
This documentation is automatically generated from the FeatureMesh registry.