Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12925

AssertionError executing authz stmt on UDF without keyspace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.0.11, 3.10
    • Component/s: Legacy/CQL
    • Labels:
      None
    • Severity:
      Low

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              samt Sam Tunnicliffe
              Reporter:
              samt Sam Tunnicliffe
              Authors:
              Sam Tunnicliffe
              Reviewers:
              Carl Yeksigian
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: