[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063345#comment-14063345 ] Aleksey Yeschenko commented on CASSANDRA-7509: -- Reviewed and tested, LGTM, +1 Nit: we should add the license for six to lib/licenses. For python-driver too, actually (the license for futures has been there for a while). > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Tyler Hobbs >Priority: Blocker > Fix For: 2.1.0 > > Attachments: 7509-v2.txt, CASSANDRA-2.1.0-7509.patch > > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062300#comment-14062300 ] Tyler Hobbs commented on CASSANDRA-7509: Version 2.0.2 of the python driver doesn't handle tuple types. Last week I released version 2.1.0b1 of the driver, which adds native support for UDTs and tuples. Upgrading to that would also allow us to remove the cqlsh patches for CASSANDRA-7399, CASSANDRA-7267, CASSANDRA-7261, and [PYTHON-90|https://datastax-oss.atlassian.net/browse/PYTHON-90], and would include the [PYTHON-84|https://datastax-oss.atlassian.net/browse/PYTHON-84] fix for {{dclocal_read_repair_chance}}. > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Mikhail Stepura >Priority: Blocker > Fix For: 2.1.0 > > Attachments: CASSANDRA-2.1.0-7509.patch > > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059631#comment-14059631 ] Jonathan Ellis commented on CASSANDRA-7509: --- Goal is to start the vote next Friday. Can you post your work in progress and I'll get it finished? > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Mikhail Stepura >Priority: Blocker > Fix For: 2.1.0 > > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059543#comment-14059543 ] Mikhail Stepura commented on CASSANDRA-7509: I still have a few failed cqlsh test cases I need to investigate, which shouldn't take too long. The problem is I have not much time for contributions for a next 2-3 weeks. [~jbellis] What is ETA for 2.1.0-final? > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Mikhail Stepura >Priority: Blocker > Fix For: 2.1.0 > > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059056#comment-14059056 ] Jonathan Ellis commented on CASSANDRA-7509: --- Besides switching the driver, how much work is this? Should I ask Brandon or Tyler to help? Would like to fix for 2.1.0-final. > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Mikhail Stepura >Priority: Blocker > Fix For: 2.1.0 > > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054860#comment-14054860 ] Sylvain Lebresne commented on CASSANDRA-7509: - Yes, and I think we should. Shipping a cqlsh in 2.1 that don't work for conditional update is not really an option. > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Mikhail Stepura >Priority: Blocker > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CASSANDRA-7509) conditional updates don't work from cqlsh
[ https://issues.apache.org/jira/browse/CASSANDRA-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054828#comment-14054828 ] Mikhail Stepura commented on CASSANDRA-7509: We have to switch cqlsh to python-driver 2.0.x (we use 1.1.2 at the moment) to fix that > conditional updates don't work from cqlsh > - > > Key: CASSANDRA-7509 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7509 > Project: Cassandra > Issue Type: Bug > Components: Tools >Reporter: Jeremiah Jordan >Assignee: Mikhail Stepura >Priority: Blocker > > {noformat} > apache-cassandra-2.1.0-rc2/bin $ ./cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.0-rc2 | CQL spec 3.1.7 | Native protocol v3] > Use HELP for help. > cqlsh> use ks1; > cqlsh:ks1> create table users( >... userID uuid, >... fname text, >... lname text, >... email text, >... address text, >... zip int, >... state text, >... PRIMARY KEY ((userID, fname), state) >... ); > cqlsh:ks1> insert into users (userID, fname, state, email) VALUES > (cfd66ccc-d857-4e90-b1e5-df98a3d40cd6, 'laura', 'ca', 'lau...@gmail.com') if > not exists; > code=2200 [Invalid query] message="Conditional updates are not supported by > the protocol version in use. You need to upgrade to a driver using the native > protocol v2." > cqlsh:ks1> > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)