Alex Petrov created CASSANDRA-16155:
---------------------------------------

             Summary: ByteBufferAccessor cast exceptions are thrown when trying 
to query a virtual table
                 Key: CASSANDRA-16155
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16155
             Project: Cassandra
          Issue Type: Bug
            Reporter: Alex Petrov
            Assignee: Alex Petrov


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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to