You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/01 04:12:46 UTC

[GitHub] [flink] bowenli86 commented on a change in pull request #10732: [FLINK-14980][docs] add function ddl docs

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_r362301750
 
 

 ##########
 File path: docs/dev/table/sql/alter.md
 ##########
 @@ -134,4 +135,27 @@ Set one or more properties in the specified table. If a particular property is a
 ALTER DATABASE [catalog_name.]db_name SET (key1=val1, key2=val2, ...)
 {% endhighlight %}
 
-Set one or more properties in the specified database. If a particular property is already set in the database, override the old value with the new one.
\ No newline at end of file
+Set one or more properties in the specified database. If a particular property is already set in the database, override the old value with the new one.
+
+## ALTER FUNCTION
+
+{% highlight sql%}
+ALTER [TEMPORARY|TEMPORARY SYSTEM] FUNCTION 
+  [IF EXISTS] [catalog_name.][db_name.] function_name 
+  AS identifier [LANGUAGE JAVA|SCALA|
+{% endhighlight %}
+
+Alter a catalog function with the new identifier and optional language tag. If a function doesn't exist 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