IS_UPSTREAM_OF

All functions > METADATA > IS_UPSTREAM_OF

Returns true if the current feature is a dependency of the given feature in the dependency DAG

Syntax

IS_UPSTREAM_OF(feature_ref: VARCHAR) → BOOLEAN
sql

Arguments

ParameterTypeRequiredDescription
feature_refVARCHARYesName of the feature to check dependency relationship

Returns

BOOLEAN - TRUE if current feature is upstream of (depended on by) the given feature

Notes

  • Checks if current feature is a dependency of the target feature
  • Returns TRUE if target feature depends on current feature
  • 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
Last update at: 2025/10/13 10:23:46