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

Stamatis Zampetakis commented on CALCITE-2649:
----------------------------------------------

Thanks for the clarifications [~julianhyde], now I understand better. 

I will see if there is an elegant way to achieve this through RexRangeRef and 
come back to you. 

> Allow RelBuilder to create field references to aliased relations without 
> knowing the size of the stack
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-2649
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2649
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.17.0
>            Reporter: Stamatis Zampetakis
>            Assignee: Julian Hyde
>            Priority: Minor
>              Labels: beginner, newbie
>             Fix For: 1.18.0
>
>
> As of [CALCITE-1523|https://issues.apache.org/jira/browse/CALCITE-1523] it is 
> possible to create field references to aliased relations anywhere in the 
> stack. However the respective field method requires to pass as a parameter 
> the inputCount (i.e., size of the stack). This is not very convenient since 
> clients of RelBuilder are obliged to track the size of the stack (leading to 
> the uneseccary creation of Wrapper classes).



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

Reply via email to