[
https://issues.apache.org/jira/browse/CASSANDRA-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-2923.
---------------------------------------
Resolution: Duplicate
This will be possible with CASSANDRA-2474. Until then, there's no way to make
key + slices fit in a CQL resultset (the data type of the key might be
different from that of the data you're slicing, which means it's invalid to
sort them together with either comparator).
> Add ability to return row key when using range notation in cql with python
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-2923
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2923
> Project: Cassandra
> Issue Type: Improvement
> Environment: Python
> Reporter: Blake Visin
> Labels: cql, driver, python
>
> When selecting columns in CQL with python, there does not seem to be a way to
> retrieve the row key of the column returned. For example:
> cursor.execute("SELECT 'antonym:'..'antonym;' FROM categories")
> Returns all of the columns starting with antonym: but there is no way to tell
> what row key the column is associated to.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira