[
https://issues.apache.org/jira/browse/CALCITE-7061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7061.
----------------------------------
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/85d5b3ef9a9e68798e4930a2786c8233b71f050b]
Thank you for the contribution [~xuzifu666]
> RelMdSize does not handle nested ARRAY/MAP constructor calls
> ------------------------------------------------------------
>
> Key: CALCITE-7061
> URL: https://issues.apache.org/jira/browse/CALCITE-7061
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.40.0
> Reporter: Yu Xu
> Assignee: Yu Xu
> Priority: Minor
> Fix For: 1.41.0
>
>
> In https://issues.apache.org/jira/browse/CALCITE-6594
> we had supported by compute RelMdSize for array with basic type, but can not
> compute correctly for nested type such as:
> 1. ARRAY[ARRAY[1,2], ARRAY[1,2]]
> current result is 8, right result should be 16
>
> 2. MAP[1, 2, 3, 4] can not compute size.
> currently result null , right result should be 16.
> we need to fix it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)