Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
There was added a similar support for arrays/multisets at https://issues.apache.org/jira/browse/CALCITE-3250
however there is no support for maps so far.
The issue is to add such support.
I think I'd like to clarify is syntax for maps since it has 2 internal subtypes for keys and values may be something similar to ROW with delimiter like
SELECT CAST(NULL AS MAP(INT, INT)); -- or with square brackets similar to map constructor SELECT CAST(NULL AS MAP[INT, INT]); -- or with angle (Flink syntax) SELECT CAST(NULL AS MAP<INT, INT>);
Attachments
Issue Links
- is duplicated by
-
CALCITE-5956 Support parsing non-standard collection types
- Closed
- is related to
-
CALCITE-5956 Support parsing non-standard collection types
- Closed
- relates to
-
CALCITE-5658 Collection types are un-parsed incorrectly for Apache Spark
- Open
- links to