diff options
author | Reynold Xin <rxin@databricks.com> | 2015-07-27 22:04:54 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-27 22:04:54 -0700 |
commit | 3bc7055e265ee5c75af8726579663cea0590f6c0 (patch) | |
tree | 3696b4e25d5221f80908fe948bef3ddbc6730bc8 /sql | |
parent | 84da8792e2a99736edb6c94df7eda87915a8a476 (diff) | |
download | spark-3bc7055e265ee5c75af8726579663cea0590f6c0.tar.gz spark-3bc7055e265ee5c75af8726579663cea0590f6c0.tar.bz2 spark-3bc7055e265ee5c75af8726579663cea0590f6c0.zip |
Fixed a test failure.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala index ff1c7562dc..001fcd035c 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala @@ -203,7 +203,7 @@ class DateFunctionsSuite extends QueryTest { Seq(Row(Date.valueOf("2015-07-27")), Row(Date.valueOf("2015-07-27")))) checkAnswer( df2.select(next_day(col("t"), "th")), - Seq(Row(Date.valueOf("2015-07-30")), Row(null))) + Seq(Row(Date.valueOf("2015-07-30")), Row(Date.valueOf("2015-07-30")))) } } |