Zhiqiang He commented on CALCITE-1849:

I'm already add instance for RexSubQuery and RexCall.
but the rexnode of exists and scalar_query is always RexSubQuery . and the 
rexnode of NOT expression is always RexCall instance.
so I can not test for the else branch. they will in default branch of 
switch-case expression.

> Support sub-queries (RexSubQuery) in RelToSqlConverter
> ------------------------------------------------------
>                 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

Reply via email to