You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksandr Volochnev (Jira)" <ji...@apache.org> on 2023/06/28 17:33:00 UTC

[jira] [Commented] (CASSANDRA-18386) SelectStatement.asCQL fails with IndexOutOfBoundsException

    [ https://issues.apache.org/jira/browse/CASSANDRA-18386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738221#comment-17738221 ] 

Aleksandr Volochnev commented on CASSANDRA-18386:
-------------------------------------------------

Can't reproduce it, for me the test works... Am I doing something wrong or is it fixed already? 

[^logs-18386]

> SelectStatement.asCQL fails with IndexOutOfBoundsException
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-18386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18386
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Interpreter
>            Reporter: David Capwell
>            Assignee: Aleksandr Volochnev
>            Priority: Normal
>             Fix For: 4.1.x, 5.x
>
>         Attachments: logs-18386
>
>
> See https://app.circleci.com/pipelines/github/dcapwell/cassandra/1934/workflows/2525f75d-a819-43db-8e89-c9d58cc8f4d7/jobs/18594
> {code}
> java.lang.IndexOutOfBoundsException: Index: 0
> 	at java.util.Collections$EmptyList.get(Collections.java:4456)
> 	at org.apache.cassandra.cql3.Constants$Marker.bindAndGet(Constants.java:470)
> 	at org.apache.cassandra.cql3.selection.ElementsSelector$1.newInstance(ElementsSelector.java:129)
> 	at org.apache.cassandra.cql3.selection.SelectorFactories.newInstances(SelectorFactories.java:206)
> 	at org.apache.cassandra.cql3.selection.Selection$SelectionWithProcessing$1.<init>(Selection.java:564)
> 	at org.apache.cassandra.cql3.selection.Selection$SelectionWithProcessing.newSelectors(Selection.java:562)
> 	at org.apache.cassandra.cql3.statements.SelectStatement.queriedColumns(SelectStatement.java:195)
> 	at org.apache.cassandra.cql3.statements.SelectStatement.asCQL(SelectStatement.java:1634)
> {code}



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

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