You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "duan xiong (Jira)" <ji...@apache.org> on 2021/08/28 07:15:00 UTC

[jira] [Created] (CALCITE-4757) When select constant value NULL, Calcite throws unknown type 0

duan xiong created CALCITE-4757:
-----------------------------------

             Summary: When select constant value NULL, Calcite throws unknown type 0
                 Key: CALCITE-4757
                 URL: https://issues.apache.org/jira/browse/CALCITE-4757
             Project: Calcite
          Issue Type: Bug
          Components: avatica
    Affects Versions: 1.27.0
            Reporter: duan xiong


When I run:
{code:java}
select * from (values(null,true))
{code}
Caused by: java.lang.RuntimeException: unknown type 0.

Looks like AvaticaSite can't handle Types.NULL.

 



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