Skip to content

Commit

Permalink
fix rt
Browse files Browse the repository at this point in the history
  • Loading branch information
liutang123 committed Aug 28, 2024
1 parent 91a058d commit 6da217e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3314,9 +3314,6 @@ private LogicalPlan withFilter(LogicalPlan input, Optional<WhereClauseContext> w
private LogicalPlan withAggregate(LogicalPlan input, SelectColumnClauseContext selectCtx,
Optional<AggClauseContext> aggCtx) {
return input.optionalMap(aggCtx, () -> {
if (input instanceof UnboundOneRowRelation) {
throw new AnalysisException("Query without FROM clause cannot have a GROUP BY clause");
}
GroupingElementContext groupingElementContext = aggCtx.get().groupingElement();
List<NamedExpression> namedExpressions = getNamedExpressions(selectCtx.namedExpressionSeq());
if (groupingElementContext.GROUPING() != null) {
Expand Down

0 comments on commit 6da217e

Please sign in to comment.