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

Jark Wu commented on FLINK-20509:
---------------------------------

What do you think about renaming {{planBefore}}, {{planAfter}}, {{planMiddle}} 
to specific plan name, such as {{AST}}, {{Physical Plan}}, {{Exec Plan}}. This 
can keep align with the explain result and avoid different meaning of 
{{planAfter}}. 

Maybe we can also add {{verifyPhysicalPlan}} instead of {{verifyRelPlan}} which 
keeps align with the plan names. 

> Refactor verifyPlan method in TableTestBase
> -------------------------------------------
>
>                 Key: FLINK-20509
>                 URL: https://issues.apache.org/jira/browse/FLINK-20509
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>            Reporter: godfrey he
>            Priority: Major
>
>  Currently, we use {{verifyPlan}} method to verify the plan result for both 
> {{RelNode}} plan and {{ExecNode}} plan, because their instances are the same. 
> But once the implementation of {{RelNode}} and {{ExecNode}} are separated, we 
> can't get {{ESTIMATED_COST}} and {{CHANGELOG_MODE}} on {{ExecNode}} plan. So 
> in order to make those methods more clear, the {{verifyPlan}} method will be 
> separated into two methods, {{verifyRelPlan}} for verifying the {{RelNode}} 
> plan, and {{verifyExecPlan}} for verifying the {{ExecNode}} plan. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to