[ https://issues.apache.org/jira/browse/CASSANDRA-7811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105585#comment-14105585 ]
Jonathan Ellis commented on CASSANDRA-7811: ------------------------------------------- SGTM. > Add USING to CREATE FUNCTION syntax > ----------------------------------- > > Key: CASSANDRA-7811 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7811 > Project: Cassandra > Issue Type: Improvement > Reporter: Sylvain Lebresne > Priority: Trivial > Fix For: 3.0 > > > The current syntax to create a function using a class is: > {noformat} > CREATE FUNCTION f() RETURNS int 'com.my.class#myMethod' > {noformat} > This is a minor detail but the absence of a keywork between the return type > and the class/method string bugs me. I'm submitting that we change this to > {noformat} > CREATE FUNCTION f() RETURNS int USING 'com.my.class#myMethod' > {noformat} > which would also be more consistent with the {{CREATE TRIGGER}} syntax. -- This message was sent by Atlassian JIRA (v6.2#6252)