You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2016/11/17 12:05:58 UTC
[jira] [Updated] (CASSANDRA-12925) AssertionError executing authz
stmt on UDF without keyspace
[ https://issues.apache.org/jira/browse/CASSANDRA-12925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Tunnicliffe updated CASSANDRA-12925:
----------------------------------------
Status: Patch Available (was: Open)
Patch adds a more useful client response + a test and merges cleanly all the way to trunk.
||branch||testall||dtest||
|[12925-2.2|https://github.com/beobal/cassandra/tree/12925-2.2]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-2.2-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-2.2-dtest]|
|[12925-3.0|https://github.com/beobal/cassandra/tree/12925-3.0]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-3.0-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-3.0-dtest]|
|[12925-3.X|https://github.com/beobal/cassandra/tree/12925-3.X]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-3.X-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-3.X-dtest]|
|[12925-trunk|https://github.com/beobal/cassandra/tree/12925-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-trunk-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-12925-trunk-dtest]|
> AssertionError executing authz stmt on UDF without keyspace
> -----------------------------------------------------------
>
> Key: CASSANDRA-12925
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12925
> Project: Cassandra
> Issue Type: Bug
> Components: CQL
> Reporter: Sam Tunnicliffe
> Assignee: Sam Tunnicliffe
> Priority: Minor
> Fix For: 2.2.x, 3.0.x, 3.x
>
>
> Performing a {{GRANT}} or {{REVOKE}} on a user defined function requires the function name to be qualified by its keyspace. Unlike {{GRANT/REVOKE}} on a table, the keyspace cannot be inferred from the {{ClientState}} as it's needed by the parser to either lookup the function (in 2.2), or convert the function arguments from CQL types to their corresponding {{AbstractType}} (in 3.0+).
> Currently, performing such a statement results in an unhandled assert error and a {{ServerError}} response to the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)