Uroš Bojanić created SPARK-58947:
------------------------------------
Summary: 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ć
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]