Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
yaooqinn committed Jan 7, 2021
1 parent b4dc838 commit 858a545
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2408,10 +2408,8 @@ class Analyzer(override val catalogManager: CatalogManager)
val evaluatedOrderings = resolvedAliasedOrdering.zip(unresolvedSortOrders).map {
case (evaluated, order) =>
val index = originalAggExprsForMatch.indexWhere {
case Alias(child, _) =>
child semanticEquals evaluated.child
case other =>
other semanticEquals evaluated.child
case Alias(child, _) => child semanticEquals evaluated.child
case other => other semanticEquals evaluated.child
}

if (index == -1) {
Expand Down

0 comments on commit 858a545

Please sign in to comment.