You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by hx...@apache.org on 2023/07/07 07:40:39 UTC
[flink] branch master updated: [hotfix][docs] Fix incorrect example of user-defined function. (#22948)
This is an automated email from the ASF dual-hosted git repository.
hxb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new d3a9ccbca5c [hotfix][docs] Fix incorrect example of user-defined function. (#22948)
d3a9ccbca5c is described below
commit d3a9ccbca5cfbc0508b401c58e446521aa4aceaf
Author: Jacky Lau <li...@gmail.com>
AuthorDate: Fri Jul 7 15:40:31 2023 +0800
[hotfix][docs] Fix incorrect example of user-defined function. (#22948)
---
docs/content.zh/docs/dev/table/sqlClient.md | 2 +-
docs/content/docs/dev/table/sqlClient.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content.zh/docs/dev/table/sqlClient.md b/docs/content.zh/docs/dev/table/sqlClient.md
index 722d2d50914..a7f47cd41b9 100644
--- a/docs/content.zh/docs/dev/table/sqlClient.md
+++ b/docs/content.zh/docs/dev/table/sqlClient.md
@@ -545,7 +545,7 @@ CREATE VIEW MyCustomView AS SELECT MyField2 FROM MyTable;
-- Define user-defined functions here.
-CREATE FUNCTION foo.bar.AggregateUDF AS myUDF;
+CREATE FUNCTION myUDF AS 'foo.bar.AggregateUDF';
-- Properties that change the fundamental execution behavior of a table program.
diff --git a/docs/content/docs/dev/table/sqlClient.md b/docs/content/docs/dev/table/sqlClient.md
index baf984787fe..4a0f2115c3b 100644
--- a/docs/content/docs/dev/table/sqlClient.md
+++ b/docs/content/docs/dev/table/sqlClient.md
@@ -484,7 +484,7 @@ CREATE VIEW MyCustomView AS SELECT MyField2 FROM MyTable;
-- Define user-defined functions here.
-CREATE FUNCTION foo.bar.AggregateUDF AS myUDF;
+CREATE FUNCTION myUDF AS 'foo.bar.AggregateUDF';
-- Properties that change the fundamental execution behavior of a table program.