[ https://issues.apache.org/jira/browse/CASSANDRA-16155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212218#comment-17212218 ]
Alex Petrov edited comment on CASSANDRA-16155 at 10/12/20, 8:20 AM: -------------------------------------------------------------------- [~dcapwell] thank you for elaborating! There is a test that uses this table in [CASSANDRA-15935] and we can add more test coverage for this (and other) virtual tables if needed. Committed to trunk as [896baf64159463d9dd72a8829eec8311f8a888da|https://github.com/apache/cassandra/commit/896baf64159463d9dd72a8829eec8311f8a888da]. was (Author: ifesdjeen): [~dcapwell] thank you for elaborating! There is a test that uses this table in [CASSANDRA-15935] and we can add more test coverage for this (and other) virtual tables if needed. Committed to trunk as [https://github.com/apache/cassandra/commit/896baf64159463d9dd72a8829eec8311f8a888da|https://github.com/apache/cassandra/commit/896baf64159463d9dd72a8829eec8311f8a888da]. > 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 > Components: Feature/Virtual Tables > Reporter: Alex Petrov > Assignee: Alex Petrov > Priority: Normal > > Start a fresh trunk node, and try to run > SELECT * FROM system_views.local_read_latency ; > You’ll get: > {code:java} > 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) > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org