You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2026/07/15 21:17:00 UTC

[jira] [Created] (CALCITE-7658) Type checker rejects CAST(ARRAY() AS ROW(x INT) ARRAY)

Mihai Budiu created CALCITE-7658:
------------------------------------

             Summary: 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


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)