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

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

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

Thank you for the review [~jensen] 

> ARRAY[NULL] produces uncompilable Java code
> -------------------------------------------
>
>                 Key: CALCITE-7653
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7653
>             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
>
>
> RexToLixTranslator implements the NULL value as a Void value in Java, which 
> generates uncompilable code.
> The generated code (passed to Janino) contains this fragment:
> {code:java}
> public Integer apply(Void root) {
>   return (Integer) root;
> } {code}



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

Reply via email to