[
https://issues.apache.org/jira/browse/CASSANDRA-19925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882608#comment-17882608
]
Stefan Miklosovic commented on CASSANDRA-19925:
-----------------------------------------------
[CASSANDRA-19925-4.1|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19925-4.1]
{noformat}
java11_pre-commit_tests
✓ j11_build 1m 59s
✓ j11_cqlsh_dtests_py3 5m 32s
✓ j11_cqlsh_dtests_py311 5m 34s
✓ j11_cqlsh_dtests_py311_vnode 6m 2s
✓ j11_cqlsh_dtests_py38 6m 6s
✓ j11_cqlsh_dtests_py38_vnode 5m 53s
✓ j11_cqlsh_dtests_py3_vnode 5m 51s
✓ j11_cqlshlib_cython_tests 7m 23s
✓ j11_cqlshlib_tests 6m 47s
✓ j11_jvm_dtests 16m 13s
✓ j11_jvm_dtests_vnode 12m 46s
✓ j11_unit_tests 9m 23s
✓ j11_unit_tests_repeat 6m 20s
✕ j11_dtests 33m 23s
largecolumn_test.TestLargeColumn test_cleanup
✕ j11_dtests_vnode 37m 56s
largecolumn_test.TestLargeColumn test_cleanup
{noformat}
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4750/workflows/b0c829a7-34a9-4e42-9601-4d7290c31437]
> 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
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]