TJ Banghart created CALCITE-5621: ------------------------------------ Summary: Support UDT declarations from root of JSON schema model Key: CALCITE-5621 URL: https://issues.apache.org/jira/browse/CALCITE-5621 Project: Calcite Issue Type: Improvement Components: core Reporter: TJ Banghart Assignee: TJ Banghart
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: {code} ... "inline":{ "version":"1.0", "types":[ { "name":"BOOL", "type":"BOOLEAN" }, { "name":"BYTES", "type":"VARBINARY" } ] ... {code} Would allow for {{CAST("true" as BOOL)}} -- This message was sent by Atlassian Jira (v8.20.10#820010)