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

Select writetime Exception when data doesn't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.4
    • Legacy/CQL
    • None
    • Low

    Description

      Hi,

      When I try do to a “select writetime” on a empty column, I have an Exception.
      For example :
      Create table test (id int, value int, value2 int, primary key (id));
      INSERT INTO test (id, value ) VALUES ( 1,100) ;

      select * from test where id =1;
      ==>
      id | value | value2
      ---------------
      1 | 100 | null

      It’s working.

      select WRITETIME(value) from test where id =1;
      ==>
      writetime(value)
      ------------------
      1363184789539000
      It’s working

      select WRITETIME(value2) from test where id =1;

      ==>TSocket read 0 bytes

      I have an Exception.

      Attachments

        1. 5341.txt
          2 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            julien_campan julien campan
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: