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

Stefan Miklosovic edited comment on CASSANDRA-20982 at 10/27/25 12:56 PM:
--------------------------------------------------------------------------

I am reading this comment, I do not remember I was involved in this anymore. It 
was quite a while ...

https://issues.apache.org/jira/browse/CASSANDRA-18760?focusedCommentId=17755014&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17755014

I put couple comments into the PR. 

[~adelapena] what is the motivation behind that first sentence in the second 
paragraph you wrote in the above comment? - "it should be possible to make blob 
columns from frozen collections."



was (Author: smiklosovic):
I am reading this comment, I do not remember I was involved in this anymore. It 
was quite a while ...

https://issues.apache.org/jira/browse/CASSANDRA-18760?focusedCommentId=17755014&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17755014

I put couple comments into the PR. 



> 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: 50m
>  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