Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Collapse collectResults case match in HiveQuerySuite
  • Loading branch information
willb committed Sep 3, 2014
commit 3b3e205cfd2e794dbb1fdb5cfeae20b8535593af
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,7 @@ class HiveQuerySuite extends HiveComparisonTest {
def collectResults(rdd: SchemaRDD): Set[(String, String)] =
rdd.collect().map {
case Row(key: String, value: String) => key -> value
case Row(kv: String) => kv match {
case KV(key, value) => key -> value
}
case Row(KV(key, value)) => key -> value
}.toSet
clear()

Expand Down