You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (Jira)" <ji...@apache.org> on 2023/10/26 13:38:00 UTC

[jira] [Commented] (CASSANDRA-18964) Vector type in UDTs can break schema loading

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

Aleksey Yeschenko commented on CASSANDRA-18964:
-----------------------------------------------

Simple fix: https://github.com/iamaleksey/cassandra/commits/18964

> Vector type in UDTs can break schema loading 
> ---------------------------------------------
>
>                 Key: CASSANDRA-18964
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18964
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Cluster/Schema
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>            Priority: Normal
>             Fix For: 5.0
>
>
> {{RawVector}} doesn’t override {{referencesUserType(String name)}}, which causes {{Types.RawBuilder.build()}} to not populate UDT dependency DAG correctly. Then depending on natural iteration order or the vertices map,  a UDT with a vector referencing another UDT can fail to resolve, if that referenced UDT has not been resolved.



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