uros-b commented on PR #59095:
URL: https://github.com/apache/spark/pull/59095#issuecomment-5876897768

   On another note, mapToPair, flatMapToPair, mapPartitionsToPair, and untyped 
fromJavaRDD(rdd) still use fakeClassTag, so byte[] keys created that way still 
skip the guard. Should we follow up with a separate Jira / PR.
   
   Also, is the 3-arg fromJavaRDD(rdd, keyClass, valueClass) is used by tests? 
Maybe it is not needed for the key-only guard. We could possibly clean up extra 
public API - dropping it would keep the surface smaller. Can be done here, or 
as part of another followup.


-- 
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