cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7660) Indicate PK columns in "prepared" native protocol responses
Date Thu, 02 Oct 2014 15:53:34 GMT

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

Tyler Hobbs commented on CASSANDRA-7660:
----------------------------------------

We also need to note the columns' position in the partition key (not just a boolean flag)
so they can be hashed correctly.

> Indicate PK columns in "prepared" native protocol responses
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-7660
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7660
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Tyler Hobbs
>              Labels: protocolv4
>             Fix For: 3.0
>
>
> Currently, when native protocol drivers prepare statements, they need to check their
internal representation of the schema to determine which, if any, of the columns are part
of the partition key.  If the native protocol response indicated this, it would remove the
drivers' dependency on having an internal representation of the schema when preparing statements.
> This would need to go in the v4 protocol.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message