IS_DOWNSTREAM_OF
All functions > METADATA > IS_DOWNSTREAM_OF
Returns true if the current feature is dependent of the given feature in the dependency DAG
Syntax
IS_DOWNSTREAM_OF(feature_ref: VARCHAR) → BOOLEAN
sql
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
feature_ref | VARCHAR | Yes | Name of the feature to check dependency relationship |
Returns
BOOLEAN - TRUE if current feature is downstream of (depends on) the given feature
Notes
- Checks if current feature depends on the target feature
- Returns TRUE if current feature has target feature as a dependency
- Works with the feature dependency DAG (Directed Acyclic Graph)
- Returns FALSE if current feature is the same as target feature
- Useful for filtering features based on dependency relationships
- Only available in METADATA context (feature queries)
- Excludes self-references