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

dateOf() in 2.0 won't work with timestamp columns created in 1.2-

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
    • Severity:
      Normal

      Description

      dateof() return type is TimestampType now, so it won't work with previously created DateType columns
      (Type error: cannot assign result of function dateof (type timestamp) to value (type 'org.apache.cassandra.db.marshal.DateType')).

        Attachments

        1. 5928.txt
          0.9 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: