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 (JIRA)" <ji...@apache.org> on 2012/08/02 19:03:03 UTC

[jira] [Created] (CASSANDRA-4485) cqlsh: support collections

Sylvain Lebresne created CASSANDRA-4485:
-------------------------------------------

             Summary: cqlsh: support collections
                 Key: CASSANDRA-4485
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Sylvain Lebresne
            Assignee: paul cannon
            Priority: Minor
             Fix For: 1.2




--
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-4485) cqlsh: support collections

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

paul cannon commented on CASSANDRA-4485:
----------------------------------------

(CASSANDRA-4500)
                
> cqlsh: support collections
> --------------------------
>
>                 Key: CASSANDRA-4485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4485-super-basic.txt
>
>


--
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-4485) cqlsh: support collections

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

Sylvain Lebresne commented on CASSANDRA-4485:
---------------------------------------------

Would it be a big deal to update cqlsh to use the binary format from CASSANDRA-4453 (once it's in) if we use that for thrift too? I'm starting to think that using json is a bit wrong even for thrift as:
* If only support strings for the map keys, while we don't have that limitation.
* It feels misleading to output a list when the user is using a set.
                
> cqlsh: support collections
> --------------------------
>
>                 Key: CASSANDRA-4485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4485-super-basic.txt
>
>


--
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-4485) cqlsh: support collections

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

paul cannon updated CASSANDRA-4485:
-----------------------------------

    Attachment: 4485-super-basic.txt

Attaching very basic support (essentially, just learn how to lex the [] and {} tokens, so that collections-related queries don't fail). Shows collections output values as the plain json returned from cassandra, but that will normally be good enough.

I'm working on much smarter support, but it's ending up needing a lot of related improvements, like CASSANDRA-4491 and a little adjustment to CASSANDRA-3647, plus some tab-completion updates. Will take a bit longer to finish up.
                
> cqlsh: support collections
> --------------------------
>
>                 Key: CASSANDRA-4485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4485-super-basic.txt
>
>


--
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-4485) cqlsh: support collections

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

paul cannon commented on CASSANDRA-4485:
----------------------------------------

That sounds like a good idea to me. The drivers should be able to handle that fine. The change adding the parameters for the collection types in CqlResult will help a lot here too.

I'll open a new ticket for this.
                
> cqlsh: support collections
> --------------------------
>
>                 Key: CASSANDRA-4485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4485-super-basic.txt
>
>


--
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] [Resolved] (CASSANDRA-4485) cqlsh: support collections

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

Jonathan Ellis resolved CASSANDRA-4485.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis

committed
                
> cqlsh: support collections
> --------------------------
>
>                 Key: CASSANDRA-4485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4485-super-basic.txt
>
>


--
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-4485) cqlsh: support collections

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

Jonathan Ellis commented on CASSANDRA-4485:
-------------------------------------------

+1
                
> cqlsh: support collections
> --------------------------
>
>                 Key: CASSANDRA-4485
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4485
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4485-super-basic.txt
>
>


--
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