[
https://issues.apache.org/jira/browse/FLINK-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642149#comment-14642149
]
ASF GitHub Bot commented on FLINK-2166:
---------------------------------------
GitHub user jamescao opened a pull request:
https://github.com/apache/flink/pull/939
FLINK-2166. Add fromCsvFile() method to TableEnvironment. A tuple based
CsvInputFormat, a pojo based CsvReader or a Parameterized tuple based
CsvReader is used to represent the row of the table's types. For tuple based
CsvInputFormat, a maximum of 25 fields are supported. An CsvOption class is
provided for users to set the csv parsing options such as line delimiter, field
delimiter etc in the CsvInputFormat based implementation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jamescao/flink mybranch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/939.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #939
----
commit b8ddbbc9441783e3a49707b81dc09eb4b390b9e7
Author: James Cao <[email protected]>
Date: 2015-07-24T01:20:19Z
FLINK-2166. Add fromCsvFile() method to TableEnvironment. A tuple based
Csvinputformat and pojo based CsvReader is used to represent the row of
the table's types. An CsvOption class is provided for users to set the
csv parsing options.
----
> 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)