Packages

p

io.projectglow.sql

optimizer

package optimizer

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Value Members

  1. object ReplaceExpressionsRule extends Rule[LogicalPlan] with GlowLogging

    Simple optimization rule that handles expression rewrites

  2. object ResolveAggregateFunctionsRule extends Rule[LogicalPlan]

    This rule is needed by AggregateByIndex.

    This rule is needed by AggregateByIndex.

    Spark's analyzer only wraps AggregateFunctions in AggregateExpressions immediately after resolution. Since AggregateByIndex is first resolved as a higher order function, it is not correctly wrapped. Note that it's merely a coincidence that it is first resolved as a higher order function.

  3. object ResolveExpandStructRule extends Rule[LogicalPlan]

    Handles ExpandStruct commands similarly to how org.apache.spark.sql.catalyst.analysis.Star is handled in Spark.

    Handles ExpandStruct commands similarly to how org.apache.spark.sql.catalyst.analysis.Star is handled in Spark. If the struct to expand has not yet been resolved, we intentionally do nothing with the expectation that we have not yet reached a fixed point in analysis and will be able to perform the expansion in a future iteration.

Ungrouped