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 2016/11/10 14:34:58 UTC
[4/4] flink git commit: [hotfix] [docs] [tableAPI] Fix typos in Table
API documentation.
[hotfix] [docs] [tableAPI] Fix typos in Table API documentation.
This closes #2776.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/5767167d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/5767167d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/5767167d
Branch: refs/heads/master
Commit: 5767167db6e91d7df2ea0c576b27a6d1d971030a
Parents: a88b613
Author: Jark Wu <wu...@alibaba-inc.com>
Authored: Wed Nov 9 15:21:39 2016 +0800
Committer: Fabian Hueske <fh...@apache.org>
Committed: Thu Nov 10 15:34:18 2016 +0100
----------------------------------------------------------------------
docs/dev/table_api.md | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/5767167d/docs/dev/table_api.md
----------------------------------------------------------------------
diff --git a/docs/dev/table_api.md b/docs/dev/table_api.md
index 6da2807..d017337 100644
--- a/docs/dev/table_api.md
+++ b/docs/dev/table_api.md
@@ -1013,8 +1013,8 @@ Group-windows are defined using the `window(w: GroupWindow)` clause. The followi
<div class="codetabs" markdown="1">
<div data-lang="java" markdown="1">
{% highlight java %}
-val table = input
- .window(w: GroupWindow) // define window
+Table table = input
+ .window(GroupWindow w) // define window
.select("b.sum") // aggregate
{% endhighlight %}
</div>
@@ -1033,9 +1033,9 @@ In streaming environments, group-window aggregates can only be computed in paral
<div class="codetabs" markdown="1">
<div data-lang="java" markdown="1">
{% highlight java %}
-val table = input
+Table table = input
.groupBy("a")
- .window(w: GroupWindow) // define window
+ .window(GroupWindow w) // define window
.select("a, b.sum") // aggregate
{% endhighlight %}
</div>
@@ -1056,7 +1056,7 @@ By assigning the group-window an alias using `as`, properties such as the start
<div class="codetabs" markdown="1">
<div data-lang="java" markdown="1">
{% highlight java %}
-val table = input
+Table table = input
.groupBy("a")
.window(XXX.as("myWin")) // define window alias
.select("a, myWin.start, myWin.end, b.count") // aggregate
@@ -1482,8 +1482,6 @@ Both the Table API and SQL come with a set of built-in functions for data transf
<div class="codetabs" markdown="1">
<div data-lang="java" markdown="1">
-<br/>
-
<table class="table table-bordered">
<thead>
<tr>
@@ -2011,7 +2009,6 @@ NUMERIC.rows
</div>
<div data-lang="scala" markdown="1">
-<br />
<table class="table table-bordered">
<thead>
@@ -2548,7 +2545,6 @@ The documentation is split up and ordered like the tests in SqlExpressionTest.
The Flink SQL functions (including their syntax) are a subset of Apache Calcite's built-in functions. Most of the documentation has been adopted from the [Calcite SQL reference](https://calcite.apache.org/docs/reference.html).
-<br />
<table class="table table-bordered">
<thead>