Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jun 7, 2015
1 parent 73db80e commit e1368c2
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -53,7 +53,7 @@ class ParquetPartitionDiscoverySuite extends QueryTest with ParquetTest {

check("10", Literal.create(10, IntegerType))
check("1000000000000000", Literal.create(1000000000000000L, LongType))
check("1.5", Literal.create(1.5, FloatType))
check("1.5", Literal.create(1.5f, FloatType))
check("hello", Literal.create("hello", StringType))
check(defaultPartitionName, Literal.create(null, NullType))
}
Expand Down Expand Up @@ -83,13 +83,13 @@ class ParquetPartitionDiscoverySuite extends QueryTest with ParquetTest {
ArrayBuffer(
Literal.create(10, IntegerType),
Literal.create("hello", StringType),
Literal.create(1.5, FloatType)))
Literal.create(1.5f, FloatType)))
})

check("file://path/a=10/b_hello/c=1.5", Some {
PartitionValues(
ArrayBuffer("c"),
ArrayBuffer(Literal.create(1.5, FloatType)))
ArrayBuffer(Literal.create(1.5f, FloatType)))
})

check("file:///", None)
Expand Down

0 comments on commit e1368c2

Please sign in to comment.