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

FunctionDescriptionBackends
ROW_AT_TIME()Returns the row of a history (slowly changing dimension) in effect at the given point in time.DDPGCHTRBQSFDBSV
ROWS_AT_TIME()Returns the rows of a history alive at the given point in time.DDPGCHTRBQSFDBSV

Growth Accounting

FunctionDescriptionBackends
TO_ACTIVITY_BITS()Returns the activity bits for the given array of activity dates and date reference.DDPGCHTRBQSFDBSV
FROM_ACTIVITY_BITS()Returns the activity dates for the given activity bits and date reference.DDPGCHTRBQSFDBSV
BINARY_REPRESENTATION()Returns the binary representation as a string of the given activity bitsDDPGCHTRBQSFDBSV
UPDATE_ACTIVITY_BIT()Returns the activity bits for the given activity bits and whether the current day is active.DDPGCHTRBQSFDBSV
IS_ACTIVE()Returns whether the given activity bits is active for the given time periodDDPGCHTRBQSFDBSV
ACTIVITY_STATUS()Returns the activity status between two time periods for the given activity bitsDDPGCHTRBQSFDBSV
COUNT_ACTIVE()Returns the number of active days for the given activity bits and time periodDDPGCHTRBQSFDBSV
RECENCY()Returns the number of days since the last active day for the given activity bitsDDPGCHTRBQSFDBSV

Experimentation

FunctionDescriptionBackends
HASH01()Returns a value between 0 and 1 based on the given hashing key.DDPGCHTRBQSFDBSV
GRADUAL_ROLLOUT()Returns the exposure to a new version based on the given hashing key and rollout parameters.DDPGCHTRBQSFDBSV

Simulations

FunctionDescriptionBackends
SAMPLE_UNIFORM()Returns a value uniformly chosen between two bounds based on the given hashing key.DDPGCHTRBQSFDBSV
SAMPLE_GAUSSIAN()Returns a value chosen from a normal distribution between two bounds based on the given hashing key.DDPGCHTRBQSFDBSV
SAMPLE_VALUE(...)Returns a value from the given array of values and proportions based on the given hashing key.DDPGCHTRBQSFDBSV
SAMPLE_BOOL()Returns the discrete event (true or false) with the given probability based on the given hashing...DDPGCHTRBQSFDBSV
SAMPLE_EXPONENTIAL()Returns a value drawn from an exponential distribution with the given rate, based on the given...DDPGCHTRBQSFDBSV
SAMPLE_POISSON()Returns an integer drawn from a Poisson distribution with the given rate, based on the given...DDPGCHTRBQSFDBSV
SAMPLE_LOGNORMAL()Returns a value drawn from a log-normal distribution, clamped to [lower, upper], based on the given...DDPGCHTRBQSFDBSV
SAMPLE_GEOMETRIC()Returns the number of trials until first success, drawn from a geometric distribution, based on the...DDPGCHTRBQSFDBSV
SAMPLE_WEIBULL()Returns a value drawn from a Weibull distribution based on the given hashing key.DDPGCHTRBQSFDBSV

Summary
Functions in this category: 21

This documentation is automatically generated from the FeatureMesh registry.