You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2025/10/22 11:56:00 UTC
[jira] [Created] (CASSANDRA-20982) BytesType should only be compatible with simple scalar types
Brandon Williams created CASSANDRA-20982:
--------------------------------------------
Summary: BytesType should only be compatible with simple scalar types
Key: CASSANDRA-20982
URL: https://issues.apache.org/jira/browse/CASSANDRA-20982
Project: Apache Cassandra
Issue Type: Bug
Reporter: Brandon Williams
Discovered while backporting CASSANDRA-18760, see https://github.com/datastax/cassandra/commit/b5f7d239ce92db7d9c5f79c69cad0caea67fcb23
Basically, things like https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java#L71 shouldn't be allowed to pass, because converting a frozen collection to bytes allows reading the raw bytes, which is nonsensical.
This was found because the AbstractTypeTest is beefed up [here|https://github.com/datastax/cassandra/blob/main/test/unit/org/apache/cassandra/db/marshal/AbstractTypeTest.java]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org