[SQL] Allow casting to complex types
Open
dsl
improvement
P3
sql
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Currently CAST is parsed in the main Calcite's Parser.jj. When parsing the target type parameter it only supports primitive types or MULTISET). It's impossible to cast to an inline fully specified Row type at the moment (Calcite 1.16).
Probably CREATE TYPE in Calcite 1.17 is worth looking at, it should support CAST
Imported from Jira [BEAM-4516](https://issues.apache.org/jira/browse/BEAM-4516). Original Jira may contain additional context.
Reported by: kedin.
Contributor guide
Assessment
This issue has not been assessed yet.