[
https://issues.apache.org/jira/browse/CASSANDRA-16977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417778#comment-17417778
]
Aleksei Zotov commented on CASSANDRA-16977:
-------------------------------------------
I checked 3.11 PR and posted a question on the function format without square
brackets:
{code:java}
functions/ks1/foo
{code}
I'm not sure whether it needs to be supported. In either case, a corresponding
test needs to be added.
> ArrayIndexOutOfBoundsException in FunctionResource#fromName
> -----------------------------------------------------------
>
> Key: CASSANDRA-16977
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16977
> Project: Cassandra
> Issue Type: Bug
> Components: Feature/Authorization
> Reporter: Berenguer Blasi
> Assignee: Berenguer Blasi
> Priority: Normal
> Fix For: 3.11.x, 4.0.x, 4.x
>
>
> {{FunctionResource}} can't handle functions with 0 args where it throws:
> {noformat}
> 2021-04-08 10:45:40,984 ErrorMessage.java:387 - Unexpected exception during
> request
> java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.apache.cassandra.auth.FunctionResource.fromName(FunctionResource.java:178)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]