[ 
https://issues.apache.org/jira/browse/CASSANDRA-20982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038334#comment-18038334
 ] 

Brandon Williams edited comment on CASSANDRA-20982 at 11/14/25 12:57 PM:
-------------------------------------------------------------------------

Looks good to me, let's check CI:

||Branch||CI||
|[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1874/workflows/9a2adb4a-03b9-4171-9729-6b6c5b217dc7],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1874/workflows/3d44eb7f-2194-43b8-a755-a3833ae6737a]|
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1876/workflows/67171e4e-667d-4c0c-8aae-21860c28b8bd],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1876/workflows/1a53d145-2ecc-4213-9bb0-b7f6546bb153]|
|[5.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-5.0]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1875/workflows/7fb31a9d-d4fb-4e27-bbab-0955d1a0aa6c],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1875/workflows/83fa4d7c-061e-487c-a14f-09df1d74095d]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-trunk]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1877/workflows/e7cb0523-db55-447b-80ff-07f9c711dcdf],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1877/workflows/e8de6740-1f9d-4076-8668-6b8115c85134]|



was (Author: brandon.williams):
Looks good to me, let's check CI:

||Branch||CI||
|[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1871/workflows/65a6aa46-2433-47e5-ae82-da64f9eb5b3f],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1871/workflows/be7ce4cc-7a40-4e12-92ab-adecd0331c4e]|
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1870/workflows/ad061e76-1ce8-44bd-ae4d-dfe6c76b7268],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1870/workflows/26da517c-23ed-4c11-96fd-eb393f9db91e]|
|[5.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-5.0]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1872/workflows/d0554b5c-1929-4869-857c-863c14869977],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1872/workflows/8a31a6c7-5d40-468b-a2e2-f0aaa300b2e9]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-trunk]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1873/workflows/6bbd41b1-5b29-469b-bfb6-a1f9e800e146],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1873/workflows/45bab560-b9b2-48dc-9b57-6de160e7695d]|


> 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
>          Components: Cluster/Schema
>            Reporter: Brandon Williams
>            Assignee: MikoĊ‚aj
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to