bowenli86 commented on a change in pull request #10732: [FLINK-14980][docs] add
function ddl docs
URL: https://github.com/apache/flink/pull/10732#discussion_r362301757
##########
File path: docs/dev/table/sql/create.md
##########
@@ -225,3 +226,24 @@ Database properties used to store extra information
related to this database.
The key and value of expression `key1=val1` should both be string literal.
{% top %}
+
+## CREATE FUNCTION
+{% highlight sql%}
+CREATE [TEMPORARY|TEMPORARY SYSTEM] FUNCTION
+ [IF NOT EXISTS] [catalog_name.][db_name.]function_name
+ AS identifier [LANGUAGE JAVA|SCALA]
+{% endhighlight %}
+
+Create a catalog function that has catalog and database namespaces with the
identifier and optional language tag. If a function with the same name already
exists in the catalog, an exception is thrown.
+
Review comment:
maybe also document that 'identifier' for java/scala is the class name?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services