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

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

[CASSANDRA-19925-5.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19925-5.0]
{noformat}
java17_pre-commit_tests                         
  ✓ j17_build                                        4m 17s
  ✓ j17_cqlsh_dtests_py311                           6m 46s
  ✓ j17_cqlsh_dtests_py311_vnode                     6m 28s
  ✓ j17_cqlsh_dtests_py38                            6m 11s
  ✓ j17_cqlsh_dtests_py38_vnode                      6m 52s
  ✓ j17_cqlshlib_cython_tests                         8m 7s
  ✓ j17_cqlshlib_tests                               7m 13s
  ✓ j17_dtests                                      33m 58s
  ✓ j17_dtests_vnode                                34m 58s
  ✓ j17_jvm_dtests_latest_vnode                     14m 27s
  ✓ j17_unit_tests                                  15m 16s
  ✓ j17_unit_tests_repeat                             7m 4s
  ✓ j17_utests_latest_repeat                         7m 41s
  ✓ j17_utests_oa                                   15m 38s
  ✓ j17_utests_oa_repeat                              7m 7s
  ✕ j17_dtests_latest                               34m 18s
      bootstrap_test.TestBootstrap test_read_from_bootstrapped_node
  ✕ j17_jvm_dtests                                   24m 1s
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.CASMultiDCTest
  ✕ j17_utests_latest                               18m 42s
      org.apache.cassandra.cql3.validation.operations.SelectTest 
testCreatingUDFWithSameNameAsBuiltin_PrefersCompatibleArgs
java17_separate_tests                            
java11_pre-commit_tests                         
java11_separate_tests                            
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4747/workflows/b0d2c88a-9356-4b66-8e4a-4a699c9b97f5]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4747/workflows/0d119b07-6941-440a-a27c-f614c6dd1a9c]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4747/workflows/96fb6232-78d2-44be-874b-ea199b3a7fea]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4747/workflows/6cfd03d7-bdc9-4568-8daf-9d649a67263f]


> 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