[ 
https://issues.apache.org/jira/browse/CASSANDRA-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tyler Hobbs updated CASSANDRA-7660:
-----------------------------------
    Attachment: 7660-trunk.txt

The attached patch (and 
[branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-7660]) adds a new 
field to the metadata in Prepared responses.  The native protocol document has 
been updated in the patch, so I'll avoid describing it in detail here.

I also have a branch of the python driver that adds support for this feature: 
https://github.com/thobbs/python-driver/tree/CASSANDRA-7660-support.

> 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
>            Assignee: Tyler Hobbs
>              Labels: protocolv4
>             Fix For: 3.0
>
>         Attachments: 7660-trunk.txt
>
>
> 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)

Reply via email to