Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2358

CLI doesn't handle inserting negative integers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7.5
    • Component/s: Legacy/Tools
    • Labels:
      None
    • Severity:
      Low

      Description

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

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

        Attachments

        1. CASSANDRA-2358.patch
          2 kB
          Pavel Yaskevich
        2. CASSANDRA-2358-trunk.patch
          3 kB
          Pavel Yaskevich

          Activity

            People

            • Assignee:
              xedin Pavel Yaskevich
              Reporter:
              thobbs Tom Hobbs
              Authors:
              Pavel Yaskevich
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified