[
https://issues.apache.org/jira/browse/CASSANDRA-18386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738221#comment-17738221
]
Aleksandr Volochnev edited comment on CASSANDRA-18386 at 6/28/23 5:34 PM:
--------------------------------------------------------------------------
Can't reproduce it, for me the test works... Am I doing something wrong or is
it fixed already?
Input: `ant test-jvm-dtest-some
-Dtest.name=org.apache.cassandra.distributed.test.accord.AccordCQLTest
-Dtest.methods=testSetMapElementFromMapElementReference`
Output: `BUILD SUCCESSFUL Total time: 1 minute 26 seconds`
[^logs-18386]
was (Author: JIRAUSER281282):
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: [email protected]
For additional commands, e-mail: [email protected]