This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new dfbc5ed  [SPARK-31839][TESTS] Delete duplicate code in castsuit
dfbc5ed is described below

commit dfbc5edf20040e8163ee3beef61f2743a948c508
Author: GuoPhilipse <46367746+guophili...@users.noreply.github.com>
AuthorDate: Thu May 28 09:57:11 2020 +0900

    [SPARK-31839][TESTS] Delete duplicate code in castsuit
    
    ### What changes were proposed in this pull request?
    Delete duplicate code castsuit
    
    ### Why are the changes needed?
    keep spark code clean
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    no need
    
    Closes #28655 from GuoPhilipse/delete-duplicate-code-castsuit.
    
    Lead-authored-by: GuoPhilipse 
<46367746+guophili...@users.noreply.github.com>
    Co-authored-by: GuoPhilipse <guofei...@126.com>
    Signed-off-by: HyukjinKwon <gurwls...@apache.org>
---
 .../test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala
 
b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala
index e5bff7f..6af995c 100644
--- 
a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala
+++ 
b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala
@@ -240,7 +240,6 @@ abstract class CastSuiteBase extends SparkFunSuite with 
ExpressionEvalHelper {
     checkCast(1.5, "1.5")
 
     checkEvaluation(cast(cast(1.toDouble, TimestampType), DoubleType), 
1.toDouble)
-    checkEvaluation(cast(cast(1.toDouble, TimestampType), DoubleType), 
1.toDouble)
   }
 
   test("cast from string") {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to