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

yao 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 08caa567fb29 [SPARK-47980][SQL][TESTS] Reactivate test 'Empty 
float/double array columns raise EOFException'
08caa567fb29 is described below

commit 08caa567fb29e762f3f7f9d94cd42c02f1e47247
Author: Kent Yao <y...@apache.org>
AuthorDate: Thu Apr 25 14:16:29 2024 +0800

    [SPARK-47980][SQL][TESTS] Reactivate test 'Empty float/double array columns 
raise EOFException'
    
    ### What changes were proposed in this pull request?
    
    [SPARK-29462](https://issues.apache.org/jira/browse/SPARK-29462) have been 
resolved, so let's enable this test
    ### Why are the changes needed?
    
    test cov
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    
    this test
    ### Was this patch authored or co-authored using generative AI tooling?
    no
    
    Closes #46213 from yaooqinn/SPARK-47980.
    
    Authored-by: Kent Yao <y...@apache.org>
    Signed-off-by: Kent Yao <y...@apache.org>
---
 .../test/scala/org/apache/spark/sql/hive/orc/HiveOrcQuerySuite.scala | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcQuerySuite.scala 
b/sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcQuerySuite.scala
index 610fc246cd84..284717739a81 100644
--- 
a/sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcQuerySuite.scala
+++ 
b/sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcQuerySuite.scala
@@ -207,10 +207,7 @@ class HiveOrcQuerySuite extends OrcQueryTest with 
TestHiveSingleton {
     }
   }
 
-  // SPARK-28885 String value is not allowed to be stored as numeric type with
-  // ANSI store assignment policy.
-  // TODO: re-enable the test case when SPARK-29462 is fixed.
-  ignore("SPARK-23340 Empty float/double array columns raise EOFException") {
+  test("SPARK-23340 Empty float/double array columns raise EOFException") {
     withSQLConf(HiveUtils.CONVERT_METASTORE_ORC.key -> "false") {
       withTable("spark_23340") {
         sql("CREATE TABLE spark_23340(a array<float>, b array<double>) STORED 
AS ORC")


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

Reply via email to