[ 
https://issues.apache.org/jira/browse/CALCITE-7658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-7658.
----------------------------------
    Fix Version/s: 1.43.0
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/4c58bdb0e6d1a1495e51dce5035b03811e5bfca3]

Thank you for your review [~xuzifu666] 

> Type checker rejects CAST(ARRAY() AS ROW(x INT) ARRAY)
> ------------------------------------------------------
>
>                 Key: CALCITE-7658
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7658
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.42.0
>            Reporter: Mihai Budiu
>            Assignee: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> The typechecker accepts casts of empty arrays to other array types, such as 
> INT ARRAY, but rejects casts to ARRAYs whose elements are ROW-typed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to