You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/07 10:05:00 UTC

[jira] [Commented] (FLINK-10126) There should be a Scala DataSource

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

ASF GitHub Bot commented on FLINK-10126:
----------------------------------------

tillrohrmann commented on issue #6738: [FLINK-10126] There should be a Scala DataSource
URL: https://github.com/apache/flink/pull/6738#issuecomment-427640894
 
 
   I agree with @StephanEwen that the current approach is not very clean.
   
   I'm wondering whether introducing a Scala `DataSource extends DataSet` and changing the return type of `ExecutionEnvironment#createInput` from `DataSet` to `DataSource` would really be API breaking. All existing programs should still compile since we would extend `DataSet`. What do you think @yanghua?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> There should be a Scala DataSource
> ----------------------------------
>
>                 Key: FLINK-10126
>                 URL: https://issues.apache.org/jira/browse/FLINK-10126
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Alexis Sarda-Espinosa
>            Assignee: vinoyang
>            Priority: Minor
>              Labels: datasource, pull-request-available, scala
>
> In Java, an ExecutionEnvironment's createInput method returns a DataSource, whereas the Scala version returns a DataSet. There is no Scala DataSource wrapper, and the Scala DataSet does not provide the Java DataSource methods, such as getSplitDataProperties.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)