Github user BryanCutler commented on the issue:

    https://github.com/apache/spark/pull/14725
  
    Thanks @holdenk for taking a look!  Yeah, I think you're right about the 
issues trying to infer a type.  It would be nice if there was some easy way to 
specify a primitive type since that would cover most of the cases in mllib, but 
it's not that big of deal.  If anything it's probably just a little obscure to 
a dev who's not familiar with py4j in Spark that for a sting the java class 
should be `sc._gateway.jvm.java.lang.String`, for example.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to