You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fh...@apache.org on 2017/07/13 21:43:17 UTC
[3/4] flink git commit: [FLINK-7154] [docs] Missing call to build
CsvTableSource example
[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/94d3166b
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/94d3166b
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/94d3166b
Branch: refs/heads/master
Commit: 94d3166b474ca4b4270ee87725ee0f9a08c8bd56
Parents: a50a9bb
Author: Greg Hogan <co...@greghogan.com>
Authored: Tue Jul 11 14:21:50 2017 -0400
Committer: Fabian Hueske <fh...@apache.org>
Committed: Thu Jul 13 18:54:37 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/94d3166b/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>