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

Flink Jira Bot updated FLINK-31390:
-----------------------------------
    Labels: pull-request-available stale-minor  (was: pull-request-available)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issues has been marked as 
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated 
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is 
still Minor, please either assign yourself or give an update. Afterwards, 
please remove the label or in 7 days the issue will be deprioritized.


> 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: Minor
>              Labels: pull-request-available, stale-minor
>
> 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