[ 
https://issues.apache.org/jira/browse/SPARK-58947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uroš Bojanić updated SPARK-58947:
---------------------------------
    Issue Type: Improvement  (was: Test)
       Summary: Add tests for SparkCollectionUtils and handle Char in 
createArray  (was: Add tests for SparkCollectionUtils)

> Add tests for SparkCollectionUtils and handle Char in createArray
> -----------------------------------------------------------------
>
>                 Key: SPARK-58947
>                 URL: https://issues.apache.org/jira/browse/SPARK-58947
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.3.0
>            Reporter: Uroš Bojanić
>            Priority: Major
>              Labels: pull-request-available
>
> SparkCollectionUtils (common/utils, org.apache.spark.util) has no test 
> coverage despite being used in production (e.g. StructType field indexing via 
> toMapWithIndex). This adds a unit test suite covering toMapWithIndex, 
> isEmpty/isNotEmpty, and createArray, including its per-primitive-type 
> dispatch and the reference-type and size-0 cases. Test-only; no behavior 
> change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to