Skip to content

Commit

Permalink
skip MapData equality check in HiveInspectorSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Aug 1, 2015
1 parent 40cc9db commit e8f6682
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ class HiveInspectorSuite extends SparkFunSuite with HiveInspectors {
case (r1: Array[Byte], r2: Array[Byte])
if r1 != null && r2 != null && r1.length == r2.length =>
r1.zip(r2).foreach { case (b1, b2) => assert(b1 === b2) }
// We don't support equality & ordering for map type, so skip it.
case (r1: MapData, r2: MapData) =>
case (r1, r2) => assert(r1 === r2)
}
}
Expand Down

0 comments on commit e8f6682

Please sign in to comment.