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

Alessandro Solimando commented on CALCITE-7016:
-----------------------------------------------

Thanks for the update, [~jensen] , that would have been ideal but I wasn't sure 
it was achievable. I don't feel strongly about either of the alternatives, if 
there hasn't been many cases of inconsistency so far, it might be more 
beneficial to keep the SQL description rather than dropping it.

> Sql resources should not be included in XML when using relFn in 
> RelOptRulesTest testing
> ---------------------------------------------------------------------------------------
>
>                 Key: CALCITE-7016
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7016
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Zhen Chen
>            Assignee: Zhen Chen
>            Priority: Minor
>              Labels: pull-request-available
>
> Use relFn to construct a plan for rule validation, and SQL resources should 
> not be included in the result file(RelOptRulesTest.xml). If SQL can be used 
> to generate plans, it is not recommended to use relFn for construction. 
> Otherwise, it may lead to incorrect mapping between sql and planBefore.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to