[
https://issues.apache.org/jira/browse/CALCITE-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759231#comment-17759231
]
Jiajun Xie commented on CALCITE-5956:
-------------------------------------
IMO: The core module supports too many parsing methods, which can easily lead
to confusion.
Map has two parameters, which are quite special. So we need `Map<K,V>` in core
module.
{{But `ARRAY<T>`}} and `{{{}MULITSET<T>` are not necessary.{}}}
I suggest supporting it in the babel module
> Support parsing non-standard collection types
> ---------------------------------------------
>
> Key: CALCITE-5956
> URL: https://issues.apache.org/jira/browse/CALCITE-5956
> Project: Calcite
> Issue Type: New Feature
> Components: core
> Affects Versions: 1.35.0
> Reporter: hongyu guo
> Assignee: hongyu guo
> Priority: Major
> Fix For: 1.36.0
>
>
> Calcite support SQL standard collection types. For example:
> {code:sql}
> INTEGER ARRAY;
> INTEGER ARRAY ARRAY;
> VARCHAR(5) MULTISET;
> INTEGER MULTISET ARRAY;{code}
> Many DBMS support a dialect of {{ARRAY<T>}} and {{MULITSET<T>}},
> I think Calcite can also support this dialect in core Parser.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)