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

ByteBufferAccessor cast exceptions are thrown when trying to query a virtual table

    XMLWordPrintableJSON

Details

    Description

      Start a fresh trunk node, and try to run

      SELECT * FROM system_views.local_read_latency ;

      You’ll get: 

      ERROR [Native-Transport-Requests-1] 2020-09-30 09:44:45,099 ErrorMessage.java:457 - Unexpected exception during request
       java.lang.ClassCastException: org.apache.cassandra.db.marshal.ByteBufferAccessor cannot be cast to java.lang.String
               at org.apache.cassandra.serializers.AbstractTextSerializer.serialize(AbstractTextSerializer.java:29)
               at org.apache.cassandra.db.marshal.AbstractType.decompose(AbstractType.java:131) 

       

      Attachments

        Issue Links

          Activity

            People

              ifesdjeen Alex Petrov
              ifesdjeen Alex Petrov
              Alex Petrov
              Caleb Rackliffe, Chris Lohfink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: