You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Rudenberg (JIRA)" <ji...@apache.org> on 2012/12/05 03:30:57 UTC

[jira] [Created] (CASSANDRA-5028) Native protocol prepared INSERT broken

Jonathan Rudenberg created CASSANDRA-5028:
---------------------------------------------

             Summary: Native protocol prepared INSERT broken
                 Key: CASSANDRA-5028
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5028
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.0 beta 3
         Environment: Cassandra 1.2.0-beta3-SNAPSHOT (b86f75d)
            Reporter: Jonathan Rudenberg


b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).

{noformat}
cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")

Error: Invalid definition for id, not a collection type
{noformat}

{noformat}
cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
cqlsh> USE test;
cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
{noformat}


Repro code: https://gist.github.com/edafe5383c81c22aed5a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CASSANDRA-5028) Native protocol prepared INSERT broken

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne resolved CASSANDRA-5028.
-----------------------------------------

    Resolution: Duplicate
    
> Native protocol prepared INSERT broken
> --------------------------------------
>
>                 Key: CASSANDRA-5028
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5028
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 3
>         Environment: Cassandra 1.2.0-beta3-SNAPSHOT (b86f75d)
>            Reporter: Jonathan Rudenberg
>            Assignee: Sylvain Lebresne
>             Fix For: 1.2.0 rc1
>
>
> b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).
> {noformat}
> cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")
> Error: Invalid definition for id, not a collection type
> {noformat}
> {noformat}
> cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
> cqlsh> USE test;
> cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
> {noformat}
> Repro code: https://gist.github.com/edafe5383c81c22aed5a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-5028) Native protocol prepared INSERT broken

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-5028:
----------------------------------------

    Fix Version/s: 1.2.0 rc1
    
> Native protocol prepared INSERT broken
> --------------------------------------
>
>                 Key: CASSANDRA-5028
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5028
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 3
>         Environment: Cassandra 1.2.0-beta3-SNAPSHOT (b86f75d)
>            Reporter: Jonathan Rudenberg
>            Assignee: Sylvain Lebresne
>             Fix For: 1.2.0 rc1
>
>
> b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).
> {noformat}
> cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")
> Error: Invalid definition for id, not a collection type
> {noformat}
> {noformat}
> cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
> cqlsh> USE test;
> cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
> {noformat}
> Repro code: https://gist.github.com/edafe5383c81c22aed5a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-5028) Native protocol prepared INSERT broken

Posted by "Jonathan Rudenberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Rudenberg updated CASSANDRA-5028:
------------------------------------------

    Description: 
b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).


{noformat}
cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")

Error: Invalid definition for id, not a collection type
{noformat}

{noformat}
cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
cqlsh> USE test;
cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
{noformat}


Repro code: https://gist.github.com/edafe5383c81c22aed5a

  was:
b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).

{noformat}
cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")

Error: Invalid definition for id, not a collection type
{noformat}

{noformat}
cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
cqlsh> USE test;
cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
{noformat}


Repro code: https://gist.github.com/edafe5383c81c22aed5a

    
> Native protocol prepared INSERT broken
> --------------------------------------
>
>                 Key: CASSANDRA-5028
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5028
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 3
>         Environment: Cassandra 1.2.0-beta3-SNAPSHOT (b86f75d)
>            Reporter: Jonathan Rudenberg
>
> b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).
> {noformat}
> cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")
> Error: Invalid definition for id, not a collection type
> {noformat}
> {noformat}
> cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
> cqlsh> USE test;
> cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
> {noformat}
> Repro code: https://gist.github.com/edafe5383c81c22aed5a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CASSANDRA-5028) Native protocol prepared INSERT broken

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams reassigned CASSANDRA-5028:
-------------------------------------------

    Assignee: Sylvain Lebresne
    
> Native protocol prepared INSERT broken
> --------------------------------------
>
>                 Key: CASSANDRA-5028
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5028
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 3
>         Environment: Cassandra 1.2.0-beta3-SNAPSHOT (b86f75d)
>            Reporter: Jonathan Rudenberg
>            Assignee: Sylvain Lebresne
>
> b4f2f201 breaks prepared inserts via the native protocol (a regression from 1.2.0-beta2).
> {noformat}
> cassandra.Exec("INSERT INTO tests (id, content) VALUES (?, ?)", 1, "test")
> Error: Invalid definition for id, not a collection type
> {noformat}
> {noformat}
> cqlsh> CREATE KEYSPACE test WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
> cqlsh> USE test;
> cqlsh:test> CREATE TABLE tests (id bigint PRIMARY KEY, content text);
> {noformat}
> Repro code: https://gist.github.com/edafe5383c81c22aed5a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira