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 2024/09/16 11:32:00 UTC
[jira] [Updated] (CASSANDRA-19925) should show error when altering table with Non-frozen UDTs with nested non-frozen collections
[ https://issues.apache.org/jira/browse/CASSANDRA-19925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-19925:
-----------------------------------------
Bug Category: Parent values: Correctness(12982)
Complexity: Normal
Component/s: Cluster/Schema
Discovered By: User Report
Fix Version/s: 5.0.x
Severity: Normal
Status: Open (was: Triage Needed)
> should show error when altering table with Non-frozen UDTs with nested non-frozen collections
> ---------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-19925
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19925
> Project: Cassandra
> Issue Type: Bug
> Components: Cluster/Schema
> Reporter: Soheil Rahsaz
> Priority: Normal
> Fix For: 5.0.x
>
>
> Cassandra version: 5.0.0 GA
> Given this type
> {code:java}
> CREATE TYPE testType
> (
> userids SET<UUID>
> );
> {code}
> If I try to create this table
> {code:java}
> CREATE TABLE test
> (
> id INT PRIMARY KEY,
> myType testType
> );
> {code}
> It shows an error: "Non-frozen UDTs with nested non-frozen collections are not supported"
> But if I create the table without the type and then alter the table:
> {code:java}
> CREATE TABLE test
> (
> id INT PRIMARY KEY
> );
> alter TABLE test add myType testType;
> {code}
> It does not show that error, which it should.
> -------
> Also the output of `describe test;` shows that it successfully altered the table.
--
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