Skip to content

Commit

Permalink
Use analyzed instead of logical in HiveComparisonTest
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghao-intel committed Mar 9, 2015
1 parent eb48fd6 commit 432ecb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ abstract class HiveComparisonTest
case _ => plan.children.iterator.exists(isSorted)
}

val orderedAnswer = hiveQuery.logical match {
val orderedAnswer = hiveQuery.analyzed match {
// Clean out non-deterministic time schema info.
// Hack: Hive simply prints the result of a SET command to screen,
// and does not return it as a query answer.
Expand Down Expand Up @@ -296,7 +296,7 @@ abstract class HiveComparisonTest

val hiveQueries = queryList.map(new TestHive.HiveQLQueryExecution(_))
// Make sure we can at least parse everything before attempting hive execution.
hiveQueries.foreach(_.logical)
hiveQueries.foreach(_.analyzed)
val computedResults = (queryList.zipWithIndex, hiveQueries, hiveCacheFiles).zipped.map {
case ((queryString, i), hiveQuery, cachedAnswerFile)=>
try {
Expand Down

0 comments on commit 432ecb3

Please sign in to comment.