Repository: spark Updated Branches: refs/heads/master 31ec6a871 -> 6cdcc21fe
[SPARK-9196] [SQL] Ignore test DatetimeExpressionsSuite: function current_timestamp. This test is flaky. https://issues.apache.org/jira/browse/SPARK-9196 will track the fix of it. For now, let's disable this test. Author: Yin Huai <[email protected]> Closes #7727 from yhuai/SPARK-9196-ignore and squashes the following commits: f92bded [Yin Huai] Ignore current_timestamp. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6cdcc21f Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6cdcc21f Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6cdcc21f Branch: refs/heads/master Commit: 6cdcc21fe654ac0a2d0d72783eb10005fc513af6 Parents: 31ec6a8 Author: Yin Huai <[email protected]> Authored: Tue Jul 28 13:16:48 2015 -0700 Committer: Reynold Xin <[email protected]> Committed: Tue Jul 28 13:16:48 2015 -0700 ---------------------------------------------------------------------- .../src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/6cdcc21f/sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala ---------------------------------------------------------------------- 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 36820cb..07eb6e4 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 @@ -38,7 +38,8 @@ class DateFunctionsSuite extends QueryTest { assert(d0 <= d1 && d1 <= d2 && d2 <= d3 && d3 - d0 <= 1) } - test("function current_timestamp") { + // This is a bad test. SPARK-9196 will fix it and re-enable it. + ignore("function current_timestamp") { val df1 = Seq((1, 2), (3, 1)).toDF("a", "b") checkAnswer(df1.select(countDistinct(current_timestamp())), Row(1)) // Execution in one query should return the same value --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
