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

Stefan Miklosovic commented on CASSANDRA-19925:
-----------------------------------------------

[CASSANDRA-19925-trunk|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19925-trunk]
{noformat}
java17_pre-commit_tests                         
  ✓ j17_build                                        4m 42s
  ✓ j17_cqlsh_dtests_py311                            7m 1s
  ✓ j17_cqlsh_dtests_py311_vnode                     7m 38s
  ✓ j17_cqlsh_dtests_py38                            7m 28s
  ✓ j17_cqlsh_dtests_py38_vnode                      7m 26s
  ✓ j17_cqlshlib_cython_tests                        7m 46s
  ✓ j17_cqlshlib_tests                               6m 52s
  ✓ j17_dtests                                      34m 30s
  ✓ j17_dtests_vnode                                37m 41s
  ✓ j17_unit_tests                                  15m 30s
  ✓ j17_unit_tests_repeat                            7m 18s
  ✓ j17_utests_latest                               15m 21s
  ✓ j17_utests_latest_repeat                         6m 19s
  ✓ j17_utests_oa                                    15m 0s
  ✓ j17_utests_oa_repeat                             7m 27s
  ✕ j17_dtests_latest                                35m 4s
      replica_side_filtering_test.TestSecondaryIndexes 
test_complementary_deletion_with_limit_on_clustering_key_column
      replica_side_filtering_test.TestSecondaryIndexes 
test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions
      bootstrap_test.TestBootstrap 
test_consistent_range_movement_false_with_replica_down_should_succeed
  ✕ j17_jvm_dtests                                  24m 44s
  ✕ j17_jvm_dtests_latest_vnode                      27m 0s
      org.apache.cassandra.distributed.test.tcm.CMSPlacementAfterMoveTest 
testMoveToCMS
      junit.framework.TestSuite 
org.apache.cassandra.fuzz.harry.integration.model.InJVMTokenAwareExecutorTest
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4748/workflows/cee686af-0779-4f53-b565-4b62bc8a01ab]


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

Reply via email to