Zander Matheson created FLINK-38374:
---------------------------------------
Summary: Add Artifact keyword as an option to create function
syntax
Key: FLINK-38374
URL: https://issues.apache.org/jira/browse/FLINK-38374
Project: Flink
Issue Type: New Feature
Components: Table SQL / API
Affects Versions: 2.2.0, 2.1.1
Reporter: Zander Matheson
The current CREATE FUNCTION ... USING syntax does not permit alternative
keywords. The improvement outlined in this issue is that we would modify the
syntax to allow for ARTIFACT.
*Current Syntax:*
CREATE [TEMPORARY] [TEMPORARY SYSTEM] FUNCTION [IF NOT EXISTS]
[catalog_name.][db_name.]function_name
AS class_name [LANGUAGE JAVA|SCALA|PYTHON] [USING JAR 'jar_path']
*Proposed New Syntax:*
CREATE [TEMPORARY] [TEMPORARY SYSTEM] FUNCTION [IF NOT EXISTS]
[catalog_name.][db_name.]function_name
AS class_name [LANGUAGE JAVA|SCALA|PYTHON] [USING JAR|ARTIFACT
'artifact_path']
--
This message was sent by Atlassian Jira
(v8.20.10#820010)