Feng Zhu created CALCITE-3520:
---------------------------------

             Summary: Type cast from primitive to box is not correct
                 Key: CALCITE-3520
                 URL: https://issues.apache.org/jira/browse/CALCITE-3520
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.21.0
            Reporter: Feng Zhu
            Assignee: Feng Zhu


RexToLixTranslator provides type cast function as public interface to users.
However, some issues from primitive to box are covered by current codegen 
framework.
{code:java}
int x = ...
byte y = (byte)y
Byte.valueOf(y) // Compile error{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to