Skip to content

Commit

Permalink
[SQL] Fix logging warn -> debug
Browse files Browse the repository at this point in the history
Author: Michael Armbrust <[email protected]>

Closes #1800 from marmbrus/warning and squashes the following commits:

8ea9cf1 [Michael Armbrust] [SQL] Fix logging warn -> debug.
  • Loading branch information
marmbrus committed Aug 6, 2014
1 parent b70bae4 commit 5a826c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ class Analyzer(catalog: Catalog, registry: FunctionRegistry, caseSensitive: Bool
grouping.collect { case ne: NamedExpression => ne.toAttribute }
)

logWarning(s"Grouping expressions: $groupingRelation")
logDebug(s"Grouping expressions: $groupingRelation")
val resolved = unresolved.flatMap(groupingRelation.resolve).toSet
val missingInAggs = resolved -- a.outputSet
logWarning(s"Resolved: $resolved Missing in aggs: $missingInAggs")
logDebug(s"Resolved: $resolved Missing in aggs: $missingInAggs")
if (missingInAggs.nonEmpty) {
// Add missing grouping exprs and then project them away after the sort.
Project(a.output,
Expand Down

0 comments on commit 5a826c0

Please sign in to comment.