[ https://issues.apache.org/jira/browse/CALCITE-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16683494#comment-16683494 ]
Piotr Bojko commented on CALCITE-2663: -------------------------------------- I wonder whether "AS class_name" is a valid use an "as" operator? In file URI there is a mechanisms to point the class name already. > CREATE FUNCTION SQL statement > ----------------------------- > > Key: CALCITE-2663 > URL: https://issues.apache.org/jira/browse/CALCITE-2663 > Project: Calcite > Issue Type: Improvement > Components: core > Affects Versions: 1.16.0, 1.17.0 > Reporter: ambition > Assignee: Julian Hyde > Priority: Minor > Fix For: 1.16.0, 1.17.0 > > > support create function statement like hive: > > > {code:java} > CREATE FUNCTION [db_name.]function_name AS class_name > [USING JAR|FILE|ARCHIVE 'file_uri' [, JAR|FILE|ARCHIVE 'file_uri'] ]; > {code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)