[
https://issues.apache.org/jira/browse/CALCITE-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680790#comment-16680790
]
Julian Hyde commented on CALCITE-2596:
--------------------------------------
Can you rebase, please, and I'll commit.
> AssertionError: Not-null boxed primitive should come back as primitive when
> translating correlated variables
> ------------------------------------------------------------------------------------------------------------
>
> Key: CALCITE-2596
> URL: https://issues.apache.org/jira/browse/CALCITE-2596
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.17.0
> Reporter: Stamatis Zampetakis
> Assignee: Julian Hyde
> Priority: Blocker
> Fix For: 1.18.0
>
>
> Queries introducing correlated variables on boxed primitive fields throw an
> assertion error when they are translated to generated code in the Enumerable
> convention.
> For example, consider the following query where e.commission is a field of
> type Integer:
> {code:sql}
> SELECT empid FROM emps e
> WHERE NOT EXISTS
> (SELECT 1 FROM depts d WHERE d.deptno=e.commission)
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)