ResolveGroupingAnalytics Logical Resolution Rule¶
ResolveGroupingAnalytics
is a logical rule (Rule[LogicalPlan]
).
ResolveGroupingAnalytics
is part of Resolution batch of Logical Analyzer.
Creating Instance¶
ResolveGroupingAnalytics
takes no arguments to be created.
ResolveGroupingAnalytics
is created when:
Analyzer
is requested for batches
Executing Rule¶
apply(
plan: LogicalPlan): LogicalPlan
apply
resolves the following operators in the input LogicalPlan:
- UnresolvedHaving with Aggregate with
Cube
- UnresolvedHaving with Aggregate with
Rollup
- UnresolvedHaving with GroupingSets
- Aggregate with
Cube
- Aggregate with
Rollup
- GroupingSets
Filter
withGrouping
orGroupingID
expressions- Sort with
Grouping
orGroupingID
expressions
tryResolveHavingCondition¶
tryResolveHavingCondition(
h: UnresolvedHaving): LogicalPlan
tryResolveHavingCondition
...FIXME