get_expr_properties

Function get_expr_properties 

Source
fn get_expr_properties(
    expr: &Arc<dyn PhysicalExpr>,
    dependencies: &Dependencies,
    schema: &SchemaRef,
) -> Result<ExprProperties>
Expand description

This function examines the given expression and its properties to determine the ordering properties of the expression. The range knowledge is not utilized yet in the scope of this function.

§Parameters

  • expr: A reference to the source expression (Arc<dyn PhysicalExpr>) for which ordering properties need to be determined.
  • dependencies: A reference to Dependencies, containing sort expressions referred to by expr.
  • schema``: A reference to the schema which the expr` columns refer.

§Returns

A SortProperties indicating the ordering information of the given expression.