We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73db80e commit e1368c2Copy full SHA for e1368c2
sql/core/src/test/scala/org/apache/spark/sql/parquet/ParquetPartitionDiscoverySuite.scala
@@ -53,7 +53,7 @@ class ParquetPartitionDiscoverySuite extends QueryTest with ParquetTest {
53
54
check("10", Literal.create(10, IntegerType))
55
check("1000000000000000", Literal.create(1000000000000000L, LongType))
56
- check("1.5", Literal.create(1.5, FloatType))
+ check("1.5", Literal.create(1.5f, FloatType))
57
check("hello", Literal.create("hello", StringType))
58
check(defaultPartitionName, Literal.create(null, NullType))
59
}
@@ -83,13 +83,13 @@ class ParquetPartitionDiscoverySuite extends QueryTest with ParquetTest {
83
ArrayBuffer(
84
Literal.create(10, IntegerType),
85
Literal.create("hello", StringType),
86
- Literal.create(1.5, FloatType)))
+ Literal.create(1.5f, FloatType)))
87
})
88
89
check("file://path/a=10/b_hello/c=1.5", Some {
90
PartitionValues(
91
ArrayBuffer("c"),
92
- ArrayBuffer(Literal.create(1.5, FloatType)))
+ ArrayBuffer(Literal.create(1.5f, FloatType)))
93
94
95
check("file:///", None)
0 commit comments