DOAN DuyHai created CASSANDRA-11538:
---------------------------------------
Summary: Give secondary index on partition column the same
treatment as static column
Key: CASSANDRA-11538
URL: https://issues.apache.org/jira/browse/CASSANDRA-11538
Project: Cassandra
Issue Type: Improvement
Components: CQL
Environment: Cassandra 3.4
Reporter: DOAN DuyHai
Priority: Minor
For index on static column, in the index table we store:
- partition key = base table static column value
- clustering = base table complete partition key (as a single value)
The way we handle index on partition column is different, we store:
- partition key = base table partition column value
- clustering 1 = base table complete partition key (as a single value)
- clustering 2 ... N+1 = N clustering values of the base table
It is more consistent to give partition column index the same treatment as the
one for static column
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)