-
Notifications
You must be signed in to change notification settings - Fork 13.7k
[FLINK-9031] Fix DataSet Union operator translation bug. #5742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Adds a pass over the pre-optimized plan that fixes the output strategy of union nodes to FORWARD.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, with one minor comment.
/** | ||
* FilterFunction for optimizer tests. | ||
*/ | ||
public class IdentityFilter<T> implements FilterFunction<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just using lambdas (filter always works) instead of adding this class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point.
Didn't think about that as the other tests follow that pattern.
Will remove the class.
The fix is still broken. Some tests are failing. |
Updated the PR. |
Thanks for updating this. Merging this... |
- Adds a pass over the pre-optimized plan that fixes the output strategy of union nodes to FORWARD. This closes apache#5742
- Adds a pass over the pre-optimized plan that fixes the output strategy of union nodes to FORWARD. This closes #5742
- Adds a pass over the pre-optimized plan that fixes the output strategy of union nodes to FORWARD. This closes apache#5742
What is the purpose of the change
JobGraphGenerator
because theJobGraphGenerator
assumed that Union nodes would always have outgoing FORWARD strategies.Brief change log
JobGraphGenerator
to fail if a union node with non-FORWARD outgoing strategy is found.Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation