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

Stefania commented on CASSANDRA-12946:
--------------------------------------

The cqlshlib unit tests have problems: 

{code}
======================================================================
01:36:19 FAIL: test_parse_select (cqlshlib.test.test_cql_parsing.TestCqlParsing)
01:36:19 ----------------------------------------------------------------------
01:36:19 Traceback (most recent call last):
01:36:19 File 
"/home/automaton/cassandra/pylib/cqlshlib/test/test_cql_parsing.py", line 167, 
in test_parse_select
01:36:19 ('FILTERING', 'identifier')])
01:36:19 AssertionError: Sequences differ: (('SELECT', 'reserved_identifi... != 
[('SELECT', 'reserved_identifi...
01:36:19 
01:36:19 First differing element 9:
01:36:19 ('<', 'op')
01:36:19 ('<', 'cmp')
01:36:19 
01:36:19 - (('SELECT', 'reserved_identifier'),
01:36:19 ? ^
01:36:19 
01:36:19 + [('SELECT', 'reserved_identifier'),
01:36:19 ? ^
01:36:19 
01:36:19 ('FROM', 'reserved_identifier'),
01:36:19 ('tab', 'identifier'),
01:36:19 ('WHERE', 'reserved_identifier'),
01:36:19 ('clustering_column', 'identifier'),
01:36:19 ('>', 'cmp'),
01:36:19 ('200', 'wholenumber'),
01:36:19 ('AND', 'reserved_identifier'),
01:36:19 ('clustering_column', 'identifier'),
01:36:19 -  ('<', 'op'),
01:36:19 ?         ^
01:36:19 
01:36:19 +  ('<', 'cmp'),
01:36:19 ?         ^^
01:36:19 
01:36:19 ('400', 'wholenumber'),
01:36:19 ('ALLOW', 'reserved_identifier'),
01:36:19 -  ('FILTERING', 'identifier'))
01:36:19 ?                             ^
01:36:19 
01:36:19 +  ('FILTERING', 'identifier')]
01:36:19 ?                             ^
01:36:19 
{code}

http://cassci.datastax.com/job/stef1927-12946-cqlsh-3.X-cqlsh-tests/cython=yes,label=ctool-lab/1/console

> cqlsh auto completion: move definition of compaction strategy options to a 
> convenient place
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12946
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12946
>             Project: Cassandra
>          Issue Type: Task
>          Components: Tools
>            Reporter: Eduard Tudenhoefner
>            Assignee: Eduard Tudenhoefner
>              Labels: cqlsh
>             Fix For: 3.x
>
>
> For cqlsh auto completion the compaction strategy suboptions are currently 
> directly defined in 
> https://github.com/apache/cassandra/blob/cassandra-3.X/pylib/cqlshlib/cql3handling.py#L508-L527.
>  It would be more convenient to move them to *Cql3ParsingRuleSet* so that 
> they can be reused at other places.



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

Reply via email to