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

Flink Jira Bot updated FLINK-31390:
-----------------------------------
      Labels: auto-deprioritized-minor pull-request-available  (was: 
pull-request-available stale-minor)
    Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> Optimize the FlinkChangelogModeInferenceProgram by avoiding unnecessary 
> traversals.
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-31390
>                 URL: https://issues.apache.org/jira/browse/FLINK-31390
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Aitozi
>            Priority: Not a Priority
>              Labels: auto-deprioritized-minor, pull-request-available
>
> We can avoid the unnecessary traversals of the RelNode tree, since we are 
> only interested in the first satisfied plan.
>  
> FlinkChangelogModeInferenceProgram
> {code:java}
>     val updateKindTraitVisitor = new SatisfyUpdateKindTraitVisitor(context)
>     val finalRoot = requiredUpdateKindTraits.flatMap {
>       requiredUpdateKindTrait =>
>         updateKindTraitVisitor.visit(rootWithModifyKindSet, 
> requiredUpdateKindTrait)
>     }
> {code}



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

Reply via email to