git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2596) AssertionError: Not-null boxed primitive should come back as primitive when translating correlated variables


Stamatis Zampetakis created CALCITE-2596:
--------------------------------------------

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