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

Fabian Hueske commented on FLINK-2166:
--------------------------------------

Hi James, thanks for reaching out and your interest in implementing this 
feature!

You are right, the {{CSVInputFormat}} has quite a few parameters. For the Java 
DataSet API, we have the {{CSVReader}} class which serves a similar purpose as 
Scala's named parameters. It's basically a builder for a {{CSVInputFormat}} 
with default parameters that can be overwritten. It would be nice if the 
{{CSVReader}} could be reused for this feature as well.

Please let me know if you have further questions.

> Add fromCsvFile() to TableEnvironment
> -------------------------------------
>
>                 Key: FLINK-2166
>                 URL: https://issues.apache.org/jira/browse/FLINK-2166
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
>            Priority: Minor
>              Labels: starter
>
> Add a {{fromCsvFile()}} method to the {{TableEnvironment}} to read a 
> {{Table}} from a CSV file.
> The implementation should reuse Flink's CsvInputFormat.



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

Reply via email to