package optimizer
- Alphabetic
- Public
- All
Value Members
-
object
ReplaceExpressionsRule extends Rule[LogicalPlan] with GlowLogging
Simple optimization rule that handles expression rewrites
-
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.
-
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.