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

Aleksandr Sorokoumov edited comment on CASSANDRA-15663 at 6/24/21, 3:05 PM:
----------------------------------------------------------------------------

Python driver 3.25.0 with fixed 
[PYTHON-1269|https://datastax-oss.atlassian.net/browse/PYTHON-1269] was 
released a while ago. Unfortunately, with the new driver version Cassandra 
server logs the following errors in dtests:

{noformat}
Protocol exception with client networking: 
org.apache.cassandra.transport.ProtocolException: Beta version of the protocol 
used (5/v5-beta), but USE_BETA flag is unset
{noformat}

AFAIU this happens because 3.11 classifies V5 as beta while 3.25.0 considers it 
stable.

I don't think it is a good idea to introduce protocol-level warnings in the 
trivial bug fix, therefore I cherry-picked 
[PYTHON-1269|https://datastax-oss.atlassian.net/browse/PYTHON-1269] into 
3.24.0. Patches:
* PR to update python driver in Cassandra 3.11 - 
https://github.com/apache/cassandra/pull/654
* PR to fix {{test_describe_functions}} broken by the driver upgrade - 
https://github.com/apache/cassandra-dtest/pull/148

[~adelapena] Can you please review?



was (Author: gerrrr):
Python driver 3.25.0 with fixed 
[PYTHON-1269|https://datastax-oss.atlassian.net/browse/PYTHON-1269] was 
released a while ago. Unfortunately, with the new driver version Cassandra 
server logs the following errors in dtests:

{noformat}
Protocol exception with client networking: 
org.apache.cassandra.transport.ProtocolException: Beta version of the protocol 
used (5/v5-beta), but USE_BETA flag is unset
{noformat}

AFAIU this happens because 3.11 classifies V5 as beta while 3.25.0 considers it 
stable.

I don't think it is a good idea to introduce protocol-level warnings in the 
trivial bug fix, therefore I cherry-picked 
[PYTHON-1269|https://datastax-oss.atlassian.net/browse/PYTHON-1269] into 3.24.0.

[~adelapena] Can you please review?

> DESCRIBE KEYSPACE does not properly quote table names
> -----------------------------------------------------
>
>                 Key: CASSANDRA-15663
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15663
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Syntax
>            Reporter: Oskar Liljeblad
>            Assignee: Aleksandr Sorokoumov
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 3.11.x
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> How to reproduce (3.11.6) - cqlsh:
> {code}
> CREATE KEYSPACE test1 WITH replication = \{'class': 'SimpleStrategy', 
> 'replication_factor': '1'} AND durable_writes = true;
> CREATE TABLE test1."default" (id text PRIMARY KEY, data text, etag text);
> DESCRIBE KEYSPACE test1;
> {code}
> Output will be:
> {code}
> CREATE TABLE test1.default (
>  id text PRIMARY KEY,
>  data text,
>  etag text
> ) WITH [..]
> {code}
> Output should be:
> {code}
> CREATE TABLE test1."default" (
>  id text PRIMARY KEY,
>  data text,
>  etag text
> ) WITH [..]
> {code}
>  If you try to run {{CREATE TABLE test1.default [..]}} you will get an error 
> SyntaxException: line 1:19 no viable alternative at input 'default' (CREATE 
> TABLE test1.[default]...)
> Oskar Liljeblad
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to