Mihai Budiu created CALCITE-7653:
------------------------------------
Summary: 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
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)