[ 
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 1:20 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/1879/workflows/80f97363-424f-4f72-b4ee-ac25586f2cdd],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1879/workflows/6bff13fc-d977-4880-b474-2134fa1ee765]|
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1878/workflows/ea1bb020-2106-43a1-88b7-dda977224414],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1878/workflows/338ecda5-3d7e-4b5c-897c-9795e8327011]|
|[5.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-5.0]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1880/workflows/fdeb926e-db6f-4c67-ba7b-0456c54f2ad1],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1880/workflows/e5963ce1-d290-4fe0-aa03-0de259aa0529]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-20982-trunk]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1881/workflows/0fdd73e2-1dec-47a9-9de4-e52a69a9da59],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1881/workflows/058db14a-98ef-47ab-9947-9fb3527c2c4e]|



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/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]|


> 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