flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhue...@apache.org
Subject [2/2] flink git commit: [FLINK-7154] [docs] Missing call to build CsvTableSource example
Date Thu, 13 Jul 2017 21:45:58 GMT
[FLINK-7154] [docs] Missing call to build CsvTableSource example

The Java and Scala example code for CsvTableSource create a builder but
are missing the final call to build.

This closes #4313.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/1ed2ef43
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/1ed2ef43
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/1ed2ef43

Branch: refs/heads/release-1.3
Commit: 1ed2ef4389d1814b5353df6675295a93b54cc5c7
Parents: aa636bf
Author: Greg Hogan <code@greghogan.com>
Authored: Tue Jul 11 14:21:50 2017 -0400
Committer: Fabian Hueske <fhueske@apache.org>
Committed: Thu Jul 13 23:44:25 2017 +0200

----------------------------------------------------------------------
 docs/dev/table/sourceSinks.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/1ed2ef43/docs/dev/table/sourceSinks.md
----------------------------------------------------------------------
diff --git a/docs/dev/table/sourceSinks.md b/docs/dev/table/sourceSinks.md
index 58049c8..7af74ca 100644
--- a/docs/dev/table/sourceSinks.md
+++ b/docs/dev/table/sourceSinks.md
@@ -173,7 +173,8 @@ CsvTableSource csvTableSource = CsvTableSource
     .lineDelimiter("$")
     .ignoreFirstLine()
     .ignoreParseErrors()
-    .commentPrefix("%");
+    .commentPrefix("%")
+    .build();
 {% endhighlight %}
 </div>
 
@@ -191,6 +192,7 @@ val csvTableSource = CsvTableSource
     .ignoreFirstLine
     .ignoreParseErrors
     .commentPrefix("%")
+    .build
 {% endhighlight %}
 </div>
 </div>


Mime
View raw message