You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Musbah EL FIL (JIRA)" <ji...@apache.org> on 2019/06/29 07:33:00 UTC

[jira] [Created] (CALCITE-3155) Bug in RelToSqlConversion when visiting Values node with no tuples

Musbah EL FIL created CALCITE-3155:
--------------------------------------

             Summary: Bug in RelToSqlConversion when visiting Values node with no tuples
                 Key: CALCITE-3155
                 URL: https://issues.apache.org/jira/browse/CALCITE-3155
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Musbah EL FIL


Given the query:

*select A."department_id"  from "foodmart"."employee" A  where A."department_id" = ( select min( A."department_id") from "foodmart"."department" B where 1=2 )*

The conversion from SqlNode to RelNode is correct, however when going from RelNode to SqlNode, an exception was being thrown.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)