You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tw...@apache.org on 2016/12/16 15:10:22 UTC

flink git commit: [hotfix] Fix Table API doc typo

Repository: flink
Updated Branches:
  refs/heads/master 3d41f2b82 -> 7957b2df5


[hotfix] Fix Table API doc typo


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

Branch: refs/heads/master
Commit: 7957b2df5a8805a915daeca340cb6633e0726ed5
Parents: 3d41f2b
Author: twalthr <tw...@apache.org>
Authored: Fri Dec 16 16:09:22 2016 +0100
Committer: twalthr <tw...@apache.org>
Committed: Fri Dec 16 16:09:22 2016 +0100

----------------------------------------------------------------------
 docs/dev/table_api.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/7957b2df/docs/dev/table_api.md
----------------------------------------------------------------------
diff --git a/docs/dev/table_api.md b/docs/dev/table_api.md
index 6ffc23e..d14b37a 100644
--- a/docs/dev/table_api.md
+++ b/docs/dev/table_api.md
@@ -3913,7 +3913,7 @@ The following examples show how to define a table-valued function and use it:
 // the generic type "Tuple2<String, Integer>" determines the returned table type has two columns,
 // the first is a String type and the second is an Integer type
 public class Split extends TableFunction<Tuple2<String, Integer>> {
-    public void evel(String str) {
+    public void eval(String str) {
         for (String s : str.split(" ")) {
             // use collect(...) to emit an output row
             collect(new Tuple2<String, Integer>(s, s.length()));
@@ -3945,7 +3945,7 @@ tableEnv.sql("SELECT a, word, length FROM MyTable LEFT JOIN LATERAL TABLE(split(
 // the generic type "(String, Integer)" determines the returned table type has two columns,
 // the first is a String type and the second is an Integer type
 class Split extends TableFunction[(String, Integer)] {
-  def evel(str: String): Unit = {
+  def eval(str: String): Unit = {
     // use collect(...) to emit an output row
     str.split(" ").foreach(x -> collect((x, x.length))
   }