Dropping a custom type

UDTs can be dropped very easily, just by issuing the DROP command. If we create a simple UDT:

CREATE TYPE test_type (value TEXT);

It can be dropped like this:

DROP TYPE test_type;

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.