[
https://issues.apache.org/jira/browse/FLINK-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther resolved FLINK-4247.
---------------------------------
Resolution: Fixed
Assignee: Timo Walther
Fix Version/s: 1.2.0
Fixed in 0975d9f11dc09f8b1ea420d660175874d423cac3.
> CsvTableSource.getDataSet() expects Java ExecutionEnvironment
> -------------------------------------------------------------
>
> Key: FLINK-4247
> URL: https://issues.apache.org/jira/browse/FLINK-4247
> Project: Flink
> Issue Type: Improvement
> Components: Table API & SQL
> Affects Versions: 1.1.0
> Reporter: Till Rohrmann
> Assignee: Timo Walther
> Priority: Minor
> Fix For: 1.2.0
>
>
> The Table API offers the {{CsvTableSource}} which can be used with the Java
> and Scala API. However, if used with the Scala API where on has obtained a
> {{scala.api.ExecutionEnvironment}} there is a problem with the
> {{CsvTableSource.getDataSet}} method. The method expects a
> {{java.api.ExecutionEnvironment}} to extract the underlying {{DataSet}}.
> Additionally it returns a {{java.api.DataSet}} instead of a
> {{scala.api.DataSet}}. I think we should also offer a Scala API specific
> CsvTableSource which works with the respective Scala counterparts.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)