zahed1994 commented on PR #59095:
URL: https://github.com/apache/spark/pull/59095#issuecomment-6152268008

   Thanks @HyukjinKwon and @uros-b.
   
   Updated in 95375cebbaa:
   - In `JavaSparkContext.parallelizePairs`, `ctagK` is now specialized to the 
array class only when all non-null keys share the same array class. If keys are 
heterogeneous (mixed array types or mixed array/non-array), it falls back to 
`fakeClassTag` so `keys().collect()` continues to work without 
`ArrayStoreException`.
   - Added positive tests in `JavaAPISuite` for `keys().collect()` on mixed 
array/non-array pairs (`[String, byte[]]`, `[byte[], String]`) and mixed array 
types (`[byte[], int[]]`).
   - Updated the PR description with the migration note for `subtractByKey`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to