cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-9542) Create UDA does not recognize built-in functions without specifying system keyspace
Date Thu, 09 Jul 2015 15:49:04 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620508#comment-14620508
] 

Robert Stupp edited comment on CASSANDRA-9542 at 7/9/15 3:48 PM:
-----------------------------------------------------------------

I'm fine with reverting this. It's also cleaner to the syntax and in the code.
Will provide a revert-patch for 2.2.0 soon.

See CASSANDRA-9771


was (Author: snazy):
I'm fine with reverting this. It's also cleaner to the syntax and in the code.
Will provide a revert-patch for 2.2.0 soon.

See CASSANDRA-9542

> Create UDA does not recognize built-in functions without specifying system keyspace
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9542
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9542
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Zachary Kurey
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 2.2.0 rc2
>
>         Attachments: 9542.txt
>
>
> I'd expect when creating a UDA not to have to specify the system keyspace when using
a built-in function for the state or final function.  For example:
> {code}
> CREATE AGGREGATE if not exists ks.my_agg(int) 
> SFUNC ks.adder
> STYPE int
> FINALFUNC intasblob
> ;
> {code}
> Gives me me the error:
> {quote}Final function ks.intasblob(int) does not exist or is not a scalar function{quote}
> Prefixing with 'system.' fixes the issue. But I was expecting it to resolve as if I were
using a built in function elsewhere.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message