You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2019/06/30 01:27:00 UTC

[jira] [Commented] (CALCITE-3155) AssertionError in RelToSqlConverter when visiting empty Values node

    [ https://issues.apache.org/jira/browse/CALCITE-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875628#comment-16875628 ] 

Julian Hyde commented on CALCITE-3155:
--------------------------------------

With its use of the DUAL table, the fix is far too dependent on oracle. I would like to see this problem solved for several databases simultaneously. I think it would lead to better code structure. 

> AssertionError in RelToSqlConverter when visiting empty Values node
> -------------------------------------------------------------------
>
>                 Key: CALCITE-3155
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3155
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Musbah EL FIL
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)