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

AssertionError executing authz stmt on UDF without keyspace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.11, 3.10
    • Legacy/CQL
    • None
    • 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

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Carl Yeksigian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: