[ 
https://issues.apache.org/jira/browse/CALCITE-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated CALCITE-1849:
---------------------------------
    Description: 
RelToSqlConverter does not currently support sub-queries (RexSubQuery), but it 
should.

SqlToRelConverter, in the default configuration, converts sub-queries into Join 
clause. But when SqlToRelConverter.Config.expand = false, it does not convert 
them to Join. And that causes problems because RelToSqlConverter cannot handle 
them.


  was:
In SqltoRelConvert, the subquery will be convert into Join clause in default 
config.
when SqlToRelConverter.Config.expand = false, subquery will not convert to 
Join. and reltosqlconvert is not support subquery.



> SubQuery in not support in reltosql when SqlToRelConverter.Config.expand = 
> false
> --------------------------------------------------------------------------------
>
>                 Key: CALCITE-1849
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1849
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.12.0
>            Reporter: Zhiqiang He
>            Assignee: Zhiqiang He
>
> RelToSqlConverter does not currently support sub-queries (RexSubQuery), but 
> it should.
> SqlToRelConverter, in the default configuration, converts sub-queries into 
> Join clause. But when SqlToRelConverter.Config.expand = false, it does not 
> convert them to Join. And that causes problems because RelToSqlConverter 
> cannot handle them.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to