You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2024/07/11 15:17:12 UTC

(spark) branch branch-3.4 updated: [MINOR][SQL][TESTS] Remove a duplicate test case in `CSVExprUtilsSuite`

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

dongjoon pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new 05ad14617178 [MINOR][SQL][TESTS] Remove a duplicate test case in `CSVExprUtilsSuite`
05ad14617178 is described below

commit 05ad146171780362a6542f9c3c7a43213def1da2
Author: Wei Guo <gu...@gmail.com>
AuthorDate: Thu Jul 11 08:16:37 2024 -0700

    [MINOR][SQL][TESTS] Remove a duplicate test case in `CSVExprUtilsSuite`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove a duplicate test case in `CSVExprUtilsSuite`.
    
    ### Why are the changes needed?
    
    Clean duplicate code.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass GA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #47298 from wayneguow/csv_suite.
    
    Authored-by: Wei Guo <gu...@gmail.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit 297a9d2ac77373157473950f607728b6f4c1c542)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .../scala/org/apache/spark/sql/catalyst/csv/CSVExprUtilsSuite.scala     | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/csv/CSVExprUtilsSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/csv/CSVExprUtilsSuite.scala
index fcb10c98243d..d94b74cff303 100644
--- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/csv/CSVExprUtilsSuite.scala
+++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/csv/CSVExprUtilsSuite.scala
@@ -76,8 +76,6 @@ class CSVExprUtilsSuite extends SparkFunSuite {
     // tab in the middle of some other letters
     ("""ba\tr""", Some("ba\tr"), None),
     // null character, expressed in Unicode literal syntax
-    ("\u0000", Some("\u0000"), None),
-    // and specified directly
     ("\u0000", Some("\u0000"), None)
   )
 


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