[
https://issues.apache.org/jira/browse/CASSANDRA-7563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225504#comment-14225504
]
Robert Stupp commented on CASSANDRA-7563:
-----------------------------------------
Problem is the following sequence of statements:
{code}
CREATE TYPE foo ...
CREATE FUNCTION bar ( par foo ) RETURNS foo ...
ALTER TYPE foo ADD ...
{code}
or
{code}
ALTER TYPE foo ALTER ...
{code}
or
{code}
ALTER TYPE foo RENAME ...
{code}
Fix to use {{AbstractType.asCQL3Type().toString().equals()}} instead of
{{AbstractType.equals()}} - this is (should be) what the user has typed.
{{UserType.equals()}} also compares the embedded field names and types - so
changes on the UDT effectively "hides" UDFs using that UDT (even no longer
droppable - that's what Tyler saw).
"Breaking" change: value of {{signuture}} column is now computed from
{{AbstractType.asCQL3Type().toString()}} instead of {{AbstractType.toString()}}
- so I'd recommend to {{rm -rf }} the {{schema_functions}} table for trunk
installations ;)
> UserType, TupleType and collections in UDFs
> -------------------------------------------
>
> Key: CASSANDRA-7563
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7563
> Project: Cassandra
> Issue Type: Bug
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Fix For: 3.0
>
> Attachments: 7563-7740.txt, 7563.txt, 7563v2.txt, 7563v3.txt,
> 7563v4.txt, 7563v5.txt, 7563v6.txt, 7563v7.txt
>
>
> * is Java Driver as a dependency required ?
> * is it possible to extract parts of the Java Driver for UDT/TT/coll support ?
> * CQL {{DROP TYPE}} must check UDFs
> * must check keyspace access permissions (if those exist)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)