You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2011/03/20 07:38:29 UTC

[jira] Created: (CASSANDRA-2358) CLI doesn't handle inserting negative integers

CLI doesn't handle inserting negative integers
----------------------------------------------

                 Key: CASSANDRA-2358
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.7.4
            Reporter: Tyler Hobbs
            Assignee: Pavel Yaskevich
            Priority: Trivial


The CLI raises a syntax error when trying to insert negative integers:

{noformat}
[default@Keyspace1] set StandardInteger['key'][-12] = 'val';
Syntax error at position 28: mismatched character '1' expecting '-'
{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich updated CASSANDRA-2358:
---------------------------------------

    Fix Version/s: 0.8

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5, 0.8
>
>         Attachments: CASSANDRA-2358-trunk.patch, CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich updated CASSANDRA-2358:
---------------------------------------

    Attachment: CASSANDRA-2358.patch

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Hudson commented on CASSANDRA-2358:
-----------------------------------

Integrated in Cassandra-0.7 #402 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/402/])
    allow negative numbers in the cli
patch by Pavel Yaskevich; reviewed by jbellis for CASSANDRA-2358


> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich commented on CASSANDRA-2358:
--------------------------------------------

I will wait until CASSANDRA-2341 is committed, it brings notation of the positive/negative integers into CLI grammar.

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich commented on CASSANDRA-2358:
--------------------------------------------

Thanks! 

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Hudson commented on CASSANDRA-2358:
-----------------------------------

Integrated in Cassandra #822 (See [https://hudson.apache.org/hudson/job/Cassandra/822/])
    add negative number support to cli, trunk version
patch by Pavel Yaskevich for CASSANDRA-2358


> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358-trunk.patch, CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich updated CASSANDRA-2358:
---------------------------------------

    Attachment: CASSANDRA-2358-trunk.patch

branch: trunk (latest commit e6c5a28da940a086d0e786f1ad0288c0b0efa27d) 

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5, 0.8
>
>         Attachments: CASSANDRA-2358-trunk.patch, CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Jonathan Ellis commented on CASSANDRA-2358:
-------------------------------------------

removed

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Jonathan Ellis updated CASSANDRA-2358:
--------------------------------------

    Affects Version/s:     (was: 0.7.4)
                       0.7.0
        Fix Version/s: 0.7.5

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich commented on CASSANDRA-2358:
--------------------------------------------

Gotcha! No, this won't be a pain at all.

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Pavel Yaskevich commented on CASSANDRA-2358:
--------------------------------------------

Can you remove it from trunk for now? I will create a separate version of this patch for the trunk.

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Jonathan Ellis reopened CASSANDRA-2358:
---------------------------------------


merged to trunk but CliTest fails.  Can you fix?

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>         Attachments: CASSANDRA-2358.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (CASSANDRA-2358) CLI doesn't handle inserting negative integers

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

Jonathan Ellis commented on CASSANDRA-2358:
-------------------------------------------

We should fix negative ints in 0.7 unless it's a huge pain.  (Counters will stay 0.8 only.)

> CLI doesn't handle inserting negative integers
> ----------------------------------------------
>
>                 Key: CASSANDRA-2358
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2358
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Tyler Hobbs
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.7.5
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The CLI raises a syntax error when trying to insert negative integers:
> {noformat}
> [default@Keyspace1] set StandardInteger['key'][-12] = 'val';
> Syntax error at position 28: mismatched character '1' expecting '-'
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira