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 6214682 commit c8eb2eeCopy full SHA for c8eb2ee
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/UnsafeRowConverterSuite.scala
@@ -146,8 +146,8 @@ class UnsafeRowConverterSuite extends SparkFunSuite with Matchers {
146
assert(createdFromNull.getShort(3) === 0)
147
assert(createdFromNull.getInt(4) === 0)
148
assert(createdFromNull.getLong(5) === 0)
149
- assert(java.lang.Float.isNaN(createdFromNull.getFloat(6)))
150
- assert(java.lang.Double.isNaN(createdFromNull.getDouble(7)))
+ assert(createdFromNull.getFloat(6) === 0.0f)
+ assert(createdFromNull.getDouble(7) === 0.0d)
151
assert(createdFromNull.getUTF8String(8) === null)
152
assert(createdFromNull.getBinary(9) === null)
153
// assert(createdFromNull.get(10) === null)
0 commit comments