mihaibudiu opened a new pull request, #5104: URL: https://github.com/apache/calcite/pull/5104
## Jira Link [CALCITE-7658](https://issues.apache.org/jira/browse/CALCITE-7658) ## Changes Proposed I have left this PR as two commits, which could be merged separately. I could also file separate JIRA issues for them. They both involve the handling of the UNKNOWN type, which is the type inferred for the elements of an empty array, for example. The JIRA explains the rationale behind these changes. Briefly: ARRAY(ARRAY(), ARRAY(2)) should infer finally a type of ARRAY(INT) for the first array. CAST(ARRAY() AS ROW(x INT) ARRAY) should be a legal program. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
