CREATE TYPE¶
Synopsis¶
1 |
|
Description¶
Create an alias for a complex type declaration.
The CREATE TYPE statement registers a type alias directly in KSQL. Any types registered by using this command can be leveraged in future statements. The CREATE TYPE statement works in interactive and headless modes.
Any attempt to register the same type twice, without a corresponding DROP TYPE statement, will fail.
Example¶
1 |
|
Use the ADDRESS custom type in a statement:
1 |
|
Last update:
2021-03-12