flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] bowenli86 commented on a change in pull request #10732: [FLINK-14980][docs] add function ddl docs
Date Wed, 01 Jan 2020 04:12:46 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message