referred_dependencies

Function referred_dependencies 

Source
pub fn referred_dependencies(
    dependency_map: &DependencyMap,
    source: &Arc<dyn PhysicalExpr>,
) -> Vec<Dependencies>
Expand description

This function analyzes the dependency map to collect referred dependencies for a given source expression.

§Parameters

  • dependency_map: A reference to the DependencyMap where each PhysicalSortExpr is associated with a DependencyNode.
  • source: A reference to the source expression (Arc<dyn PhysicalExpr>) for which relevant dependencies need to be identified.

§Returns

A Vec<Dependencies> containing the dependencies for the given source expression. These dependencies are expressions that are referred to by the source expression based on the provided dependency map.