Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
Related to CALCITE-5346.
This change would allow for declaring user-defined types at the root of a schema model and allows for easy type alias mapping.
These data types are shared by all schema in the model so cast and DDL expressions do not need to scope data type references to a particular sub-schema.
For example:
... "inline":{ "version":"1.0", "types":[ { "name":"BOOL", "type":"BOOLEAN" }, { "name":"BYTES", "type":"VARBINARY" } ] ...
Would allow for CAST("true" as BOOL)
Attachments
Issue Links
- is related to
-
CALCITE-5346 Support for type aliases
- Open
- links to