[ https://issues.apache.org/jira/browse/CASSANDRA-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022496#comment-16022496 ]
Benjamin Lerer commented on CASSANDRA-7396: ------------------------------------------- bq. {{WRITETIME()}} + {{TTL()}} don’t work with element/slice selections, but UDFs + CAST do work with element/slice selections. This will require some significant refactoring to the {{Selector}} classes as well as to the {{Selection}} and {{ResultSetBuilder}} classes. Due to that I think it is best to do that improvement within CASSANDRA-8877. I have pushed a new version of the patch [here|https://github.com/apache/cassandra/compare/trunk...blerer:7396-trunk] to fix the remaining issues. I ran the tests on our internal CI and the results look good. I renamed {{isTerminal}} to {{areAllFetchedColumnsKnown}} as the original name was misleading. If we have a query like: {{SELECT m\['1'\] + ? FROM myTable}} we do not need to have all the parameters bound to build the {{ColumnFilter}}. > Allow selecting Map key, List index > ----------------------------------- > > Key: CASSANDRA-7396 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7396 > Project: Cassandra > Issue Type: New Feature > Components: CQL > Reporter: Jonathan Ellis > Assignee: Sylvain Lebresne > Labels: cql, docs-impacting > Fix For: 4.x > > Attachments: 7396_unit_tests.txt > > > Allow "SELECT map['key]" and "SELECT list[index]." (Selecting a UDT subfield > is already supported.) -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org