[
https://issues.apache.org/jira/browse/SPARK-58744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Jie updated SPARK-58744:
-----------------------------
Affects Version/s: 4.4.0
(was: 5.0.0)
> Assign a name to the error condition _LEGACY_ERROR_TEMP_3008-3010
> -----------------------------------------------------------------
>
> Key: SPARK-58744
> URL: https://issues.apache.org/jira/browse/SPARK-58744
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.4.0
> Reporter: Yang Jie
> Priority: Major
> Labels: pull-request-available
>
> Convert `_LEGACY_ERROR_TEMP_3008`, `_LEGACY_ERROR_TEMP_3009` and
> `_LEGACY_ERROR_TEMP_3010` in `SparkCoreErrors` into a new
> `UNSUPPORTED_ARRAY_KEY` umbrella condition (SQLSTATE 0A000) with three
> sub-conditions: `MAP_SIDE_COMBINE`, `HASH_PARTITIONER` and
> `REDUCE_BY_KEY_LOCALLY`.
> All three reject an array-typed RDD key and are reachable directly from the
> RDD API on the driver, so they get proper names rather than becoming internal
> errors.
> Also fixes the existing test in `PartitioningSuite`: its helper discarded the
> result of `getMessage.contains("array")`, so twelve assertions only checked
> that some `SparkException` was thrown. It now asserts the condition and the
> SQLSTATE.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]