Skip to content

Conversation

ChengJie1053
Copy link
Member

@ChengJie1053 ChengJie1053 commented Sep 27, 2025

Optimize RemoveUnreachableCoalesceArgumentsRule rule,when including functions, it will fall back to case when

FLINK-38468

… rule,when including functions, it will fall back to case when
@flinkbot
Copy link
Collaborator

flinkbot commented Sep 27, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

}
}

if (containsFunctionCalls(call)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please could you raise a Jira for this with the motivation behind this change and reference the Jira in the title. From the code it looks like this is more than an optimization it is adding function specific code, it would be good to call out the value being added here and/or symptoms/ behaviour/ errors that might be seen prior to this change.

As there is logic added in the change , I suggest adding unit tests for the code you have added.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Thank you

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I have added Jira and unit tests
@davidradl

@github-actions github-actions bot added the community-reviewed PR has been reviewed by the community. label Sep 29, 2025
@ChengJie1053 ChengJie1053 changed the title [flink-table-planner] Optimize RemoveUnreachableCoalesceArgumentsRule rule [FLINK—38468][flink-table-planner] When the coalesce parameter contains a function, convert it to case when Oct 1, 2025
@ChengJie1053 ChengJie1053 changed the title [FLINK—38468][flink-table-planner] When the coalesce parameter contains a function, convert it to case when [FLINK-38468][flink-table-planner] When the coalesce parameter contains a function, convert it to case when Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-reviewed PR has been reviewed by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants