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

Brandon Williams commented on CASSANDRA-20982:
----------------------------------------------

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