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

CLI doesn't handle inserting negative integers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.5
    • Legacy/Tools
    • None
    • 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

            xedin Pavel Yaskevich
            thobbs Tom Hobbs
            Pavel Yaskevich
            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