Skip to content

Commit

Permalink
Slightly easier to read test output.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Nov 3, 2014
1 parent 6cc434d commit 46a3aee
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import org.apache.spark.sql.catalyst.types._
import org.apache.spark.sql.catalyst.types.decimal.Decimal
import org.apache.spark.sql.catalyst.util._
import org.apache.spark.sql.json.JsonRDD.{enforceCorrectType, compatibleType}
import org.apache.spark.sql.QueryTest
import org.apache.spark.sql.SQLConf
import org.apache.spark.sql.{Row, SQLConf, QueryTest}
import org.apache.spark.sql.test.TestSQLContext
import org.apache.spark.sql.test.TestSQLContext._

Expand Down Expand Up @@ -292,8 +291,8 @@ class JsonSuite extends QueryTest {
// Access a struct and fields inside of it.
checkAnswer(
sql("select struct, struct.field1, struct.field2 from jsonTable"),
(
Seq(true, BigDecimal("92233720368547758070")),
Row(
Row(true, BigDecimal("92233720368547758070")),
true,
BigDecimal("92233720368547758070")) :: Nil
)
Expand Down

0 comments on commit 46a3aee

Please sign in to comment.