[ 
https://issues.apache.org/jira/browse/SPARK-14500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233790#comment-15233790
 ] 

Jacek Laskowski commented on SPARK-14500:
-----------------------------------------

What a nice surprise! Just yesterday faced the very exact problem of converting 
Datasets to DataFrames due to the "incompatibility" and was wondering whether I 
was doing something wrong myself. Thanks [~mengxr]!

> Accept Dataset[_] instead of DataFrame in MLlib APIs
> ----------------------------------------------------
>
>                 Key: SPARK-14500
>                 URL: https://issues.apache.org/jira/browse/SPARK-14500
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> In Spark 2.0, `DataFrame` is an alias of `Dataset[Row]`. MLlib API actually 
> works for other types of `Dataset`, so we should accept `Dataset[_]` instead. 
> It maps to `Dataset<?>` in Java. This is a source compatible change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to