[
https://issues.apache.org/jira/browse/CALCITE-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690677#comment-16690677
]
Julian Hyde commented on CALCITE-2663:
--------------------------------------
Fixed in
[bd956458|http://git-wip-us.apache.org/repos/asf/calcite/commit/bd956458].
Thanks for the PR, [~ambition]! I modified your patch a little, so that you can
have as many FILE, JAR or ARCHIVE elements as you like, and the output syntax
is identical to the input syntax.
> CREATE FUNCTION and DROP FUNCTION DDL commands
> ----------------------------------------------
>
> Key: CALCITE-2663
> URL: https://issues.apache.org/jira/browse/CALCITE-2663
> Project: Calcite
> Issue Type: Improvement
> Components: server
> Affects Versions: 1.16.0, 1.17.0
> Reporter: ambition
> Assignee: Julian Hyde
> Priority: Minor
> Fix For: 1.18.0
>
>
> support create function and drop function statement like apache hive:
> {code:java}
> CREATE [OR REPLACE] FUNCTION [IF NOT EXISTS] [db_name.]function_name AS
> class_name
> [USING JAR|FILE|ARCHIVE 'file_uri' [, JAR|FILE|ARCHIVE 'file_uri'] ];
> DROP FUNCTION [IF EXISTS] function_name;
> {code}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)