You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (Created) (JIRA)" <ji...@apache.org> on 2012/03/02 17:30:06 UTC

[jira] [Created] (CASSANDRA-3990) cqlsh support for CQL 3

cqlsh support for CQL 3
-----------------------

                 Key: CASSANDRA-3990
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
             Project: Cassandra
          Issue Type: Sub-task
            Reporter: Sylvain Lebresne
            Assignee: paul cannon
            Priority: Minor
             Fix For: 1.1.0


Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248448#comment-13248448 ] 

Eric Evans commented on CASSANDRA-3990:
---------------------------------------

>From IRC:

{noformat}
11:59 < urandom> pcmanus: when you get a sec, let me know whether you think 
                 #3990 should be merged to 1.1.0
11:59 < CassBotJr> https://issues.apache.org/jira/browse/CASSANDRA-3990 : cqlsh 
                   support for CQL 3
12:00 < pcmanus> urandom: I'm fine with it (as part of our CQL3 is beta and 
                 excluded of freeze)
{noformat}

So, added to cassandra-1.1.0 as well.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql, cqlsh
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242570#comment-13242570 ] 

Sylvain Lebresne commented on CASSANDRA-3990:
---------------------------------------------

Some part of me tell me that this may prove limiting. I've actually bothered implementing the semantic versioning server side, so that when for instance when we have cql 3.1.0, if the client asked for 3.1.0 but the server is an old one that only support 3.0.0, an error is returned. So in other words, we will later need to be able to distinguish between 3.0.0 and 3.1.0. Feels like adding a specific flag each time will prove limiting or tedious to upgrade. I'm not sure if that would really matter for cqlsh but just figured I'd mention it.

Maybe we could still have the option of setting whatever version we want, but then have --cql2 and --cql3 shortcuts that would refer to the more recent known version for instance.

                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242158#comment-13242158 ] 

Eric Evans commented on CASSANDRA-3990:
---------------------------------------

bq. Cool. Do you think it's worth having an extra shortcut-y parameter like -3 or --cql3 instead of --cqlversion=3.0.0?

Yeah, that probably would be better.  I'll update the patch accordingly.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244224#comment-13244224 ] 

paul cannon commented on CASSANDRA-3990:
----------------------------------------

Sounds like the best thing is to have --cqlversion=VER along with --cql2 and --cql3 shortcuts.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242556#comment-13242556 ] 

paul cannon commented on CASSANDRA-3990:
----------------------------------------

You mean, a --cql2/-2 flag that's on by default for now, but can be used in a forward-compatible way as long as cql2 is supported?  I like that idea.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3990) cqlsh support for CQL 3

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

Sylvain Lebresne updated CASSANDRA-3990:
----------------------------------------

    Reviewer: thepaul
    Assignee: Eric Evans  (was: paul cannon)
    
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242648#comment-13242648 ] 

paul cannon commented on CASSANDRA-3990:
----------------------------------------

bq. So in other words, we will later need to be able to distinguish between 3.0.0 and 3.1.0.

Meaning there will be C* versions which support both? That seems wrong to me- if there's no major version increment, doesn't that mean 3.1.0 has to be backwards compatible with 3.0.0?
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241430#comment-13241430 ] 

paul cannon commented on CASSANDRA-3990:
----------------------------------------

Cool. Do you think it's worth having an extra shortcut-y parameter like {{\-3}} or {{\-\-cql3}} instead of {{--cqlversion=3.0.0}}?
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245693#comment-13245693 ] 

paul cannon commented on CASSANDRA-3990:
----------------------------------------

And as Eric mentioned, these expect the python-cql version in Cassandra to be updated to 1.0.10. My 3990 branch in github, tagged at:

https://github.com/thepaul/cassandra/tree/pending/3990

includes that python-cql update as well as the two commits attached here.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243119#comment-13243119 ] 

Sylvain Lebresne commented on CASSANDRA-3990:
---------------------------------------------

bq. Meaning there will be C* versions which support both?

No. But it is possible even for the same user to have a cluster with mixed C* versions. And yes 3.1.0 will be backward compatible with 3.0.0. But 3.1.0 may have feature that doesn't work with 3.0.0. So if someone wants to use 3.1.0 explicitly, he ought to be able to say so (and if the C* server is an old one that only know about 3.0.0, it will refuse the connection).

It is true that you would be safe to always set the version to 3.0.0, even when the server will be on 3.1.0, but what I mean is that the server does some fine grained version check, so if we don't expose the ability to choose which version of CQL exactly we want, we loose a bit of flexibility. We may consider that fine for cqlsh though, I don't know. 
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Christoph Tavan (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243127#comment-13243127 ] 

Christoph Tavan edited comment on CASSANDRA-3990 at 3/31/12 12:57 PM:
----------------------------------------------------------------------

So we finally also end up at the question whether the cqlsh which gets shipped alongside C* is supposed to work with whatever CQL version that existed up to that point in time? If so, I think it must definitely be possible to specify the exact CQL version and cqlsh should default to the CQL version that was the default in the C* version it got shipped with.

Providing shorthands like {{--cql2/--cql3}} that activate the most recent matching CQL minor version would be handy I guess.
                
      was (Author: ctavan):
    So we finally also end up at the question whether the cqlsh which gets shipped alongside C* is supposed to work with whatever CQL version that existed up to that point in time? If so, I think it must definitely be possible to specify the exact CQL version and cqlsh should default to the CQL version that was the default in the C* version it got shipped with.

Providing shorthands like --cql2/--cql3 that activate the most recent matching CQL minor version would be handy I guess.
                  
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3990) cqlsh support for CQL 3

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

Eric Evans updated CASSANDRA-3990:
----------------------------------

    Attachment: v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
    
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Christoph Tavan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242233#comment-13242233 ] 

Christoph Tavan commented on CASSANDRA-3990:
--------------------------------------------

I'm probably not enough into the cassandra-side CQL code but in the light of CQL3 becoming default in the future, wouldn't it be more reasonable to add some cql2-flag internally that is being set to true by default and just set it to false if the --cql3 flag is provided? That way we could just drop a few lines of code when making CQL3 the default instead of altering stuff.

Anyways I'm happy to see this being available in cqlsh soon!
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Christoph Tavan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246295#comment-13246295 ] 

Christoph Tavan commented on CASSANDRA-3990:
--------------------------------------------

You patch works great for me, Paul.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3990) cqlsh support for CQL 3

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

Eric Evans updated CASSANDRA-3990:
----------------------------------

    Attachment: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
    
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248433#comment-13248433 ] 

Eric Evans commented on CASSANDRA-3990:
---------------------------------------

bq. we'll see what Eric thinks.

Looks good to me.  I've merged this to cassandra-1.1 and trunk, I'll leave it to Sylvain's judgement as to whether or not this should be merged to cassandra-1.1.0 as well.

Thanks.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql, cqlsh
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Christoph Tavan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243127#comment-13243127 ] 

Christoph Tavan commented on CASSANDRA-3990:
--------------------------------------------

So we finally also end up at the question whether the cqlsh which gets shipped alongside C* is supposed to work with whatever CQL version that existed up to that point in time? If so, I think it must definitely be possible to specify the exact CQL version and cqlsh should default to the CQL version that was the default in the C* version it got shipped with.

Providing shorthands like --cql2/--cql3 that activate the most recent matching CQL minor version would be handy I guess.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3990) cqlsh support for CQL 3

Posted by "Eric Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242191#comment-13242191 ] 

Eric Evans commented on CASSANDRA-3990:
---------------------------------------

bq.  I'll update the patch accordingly.

Attached as v2
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3990) cqlsh support for CQL 3

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

paul cannon updated CASSANDRA-3990:
-----------------------------------

    Reviewer: urandom  (was: thepaul)
    Assignee: paul cannon  (was: Eric Evans)
      Labels: cql cqlsh  (was: )

we'll see what Eric thinks.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql, cqlsh
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3990) cqlsh support for CQL 3

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

paul cannon updated CASSANDRA-3990:
-----------------------------------

    Attachment: v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
                v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt

v3 here includes --cqlversion as well as --cql2 and --cql3, and fixes the most glaring problems with cqlsh use with cql3. Namely, allowing double-quoted names, and querying system."Versions" with double-quotes, since cql3 downcases the name by default.
                
> cqlsh support for CQL 3
> -----------------------
>
>                 Key: CASSANDRA-3990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3990
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: v1-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v2-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0001-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt, v3-0002-CASSANDRA-3990-cqlsh-support-for-CQL-3.txt
>
>
> Cqlsh needs to add support for CQL3. At a minimum, one needs to be able to choose the cql version at launch time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira