You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2015/03/26 11:22:26 UTC
flink git commit: [hotfix] [doc] Fix DataSet type in readCsvFile
example
Repository: flink
Updated Branches:
refs/heads/master 1b42b6206 -> b13c9a7dd
[hotfix] [doc] Fix DataSet type in readCsvFile example
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/b13c9a7d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/b13c9a7d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/b13c9a7d
Branch: refs/heads/master
Commit: b13c9a7dd7d366123cd737cd2706234eb72c2a5d
Parents: 1b42b62
Author: Aljoscha Krettek <al...@gmail.com>
Authored: Thu Mar 26 11:21:30 2015 +0100
Committer: Aljoscha Krettek <al...@gmail.com>
Committed: Thu Mar 26 11:21:30 2015 +0100
----------------------------------------------------------------------
docs/programming_guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/b13c9a7d/docs/programming_guide.md
----------------------------------------------------------------------
diff --git a/docs/programming_guide.md b/docs/programming_guide.md
index f3a8bce..4d338d7 100644
--- a/docs/programming_guide.md
+++ b/docs/programming_guide.md
@@ -1597,7 +1597,7 @@ DataSet<Tuple2<String, Double>> csvInput = env.readCsvFile("hdfs:///the/CSV/file
.types(String.class, Double.class);
// read a CSV file with three fields into a POJO (Person.class) with corresponding fields
-DataSet<Tuple3<Integer, String, Double>> csvInput = env.readCsvFile("hdfs:///the/CSV/file")
+DataSet<Person>> csvInput = env.readCsvFile("hdfs:///the/CSV/file")
.pojoType(Person.class, "name", "age", "zipcode");
// create a set from some given elements