You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "James Cao (JIRA)" <ji...@apache.org> on 2015/07/24 15:50:05 UTC
[jira] [Commented] (FLINK-2166) Add fromCsvFile() to
TableEnvironment
[ https://issues.apache.org/jira/browse/FLINK-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640466#comment-14640466 ]
James Cao commented on FLINK-2166:
----------------------------------
Hi Fabian, I'd like to contribute to this issue. I've played with some prototypes of the solubtion and have a few question to ask.
CsvInputformat takes a lot of options like line-delimiter, field-delimiter, Included-msak etc. Should we allow user to set these options in fromCsvFile()? In scala api, we can have default for most of them and user can override only a few parameters using named parameter but for java api, user have to come up with a long list of parameters to make the call.
> 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)