Type Definitions

type-definitions:
   CREATE TYPE [ schema_name . ] type_name
     EXTERNAL NAME MAL_type_name

Declare a new user-defined data type. The implementation (structure, operators & functions both scalar and bulk) must be specified externally in C code and MAL script. For examples see the C implementations of data types: inet, json, url and uuid.

This command is MonetDB specific. External implies language MAL.

Associated system table: sys.types

For examples, see the Developers Guide