Nadav Har'El created CASSANDRA-19006:
----------------------------------------

             Summary: DROPing a non-existant function with parameter types 
results in bizarre error
                 Key: CASSANDRA-19006
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19006
             Project: Cassandra
          Issue Type: Bug
            Reporter: Nadav Har'El


When attempting a command like

{{DROP FUNCTION ks.fun(int)}}

Where the keyspace "ks" exists, but "fun" doesn't - and note also an attempt to 
choose which of several (non-existent) overloads to remove - one gets a bizarre 
error from Cassandra - instead of InvalidRequest (or maybe 
ConfigurationException), we get a SyntaxError, with the strange message 
"NoSuchElementException No value present". Neither the SyntaxError type nor 
this specific message makes much sense. This is not a syntax error, and the 
same request would have worked if this specific function existed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to