Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1967

Cassandra Connector: unable to deserialize column mutation with reversed type

    XMLWordPrintable

Details

    Description

      Cassandra Connector stopped and encountered the following error when processing a mutation regarding a clustering column ordered DESC in commitLogFile:

      22:16:29.274 [pool-3-thread-3] ERROR i.d.c.c.CommitLogReadHandlerImpl - Failed to deserialize column event_time type org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.TimestampType). Error: null

      Related DDL: WITH CLUSTERING ORDER BY (event_type ASC, event_time DESC);

      For clustering columns ordered DESC, the abstract type is wrapped by a reversed type outside, thus unable to be recognized by typeMap and caused NPE during deserialization.

      Attachments

        Activity

          People

            zhou.bing@husky.neu.edu Bingqin Zhou (Inactive)
            zhou.bing@husky.neu.edu Bingqin Zhou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: