[ 
https://issues.apache.org/jira/browse/SPARK-58947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107112#comment-18107112
 ] 

Uroš Bojanić commented on SPARK-58947:
--------------------------------------

In progress: https://github.com/apache/spark/pull/58227.

> Add tests for SparkCollectionUtils
> ----------------------------------
>
>                 Key: SPARK-58947
>                 URL: https://issues.apache.org/jira/browse/SPARK-58947
>             Project: Spark
>          Issue Type: Test
>          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