-
Notifications
You must be signed in to change notification settings - Fork 11
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
Join operator API improvements. #206
Conversation
617b289
to
d9aa9ee
Compare
Related to #143 |
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.
This seems very nice, I have some minor concerns about the InnerJoin
, that is not name that would be generally used, generally just Join
implies InnerJoin
, I'd suggest we stick to that. I also don't see much added value in RightJoin
(although it might make sense when it comes to optimizations like broadcast joins, but we could solve this on the hint instead).
import java.util.Objects; | ||
|
||
@Audience(Audience.Type.CLIENT) | ||
public class InnerJoin { |
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.
This operator should remain just Join
.
import java.util.Optional; | ||
|
||
@Audience(Audience.Type.CLIENT) | ||
public class RightJoin { |
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 is this implementation different from LeftJoin
? Isn't this just quite expensive syntactic sugar around the same implementation with swapped arguments?
}); | ||
} | ||
|
||
@Processing(Processing.Type.BOUNDED) |
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.
Why do we run these tests only for bounded datasets?
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.
OK, I see, the reason is probably that unbounded dataset cannot be join using global windowing. There are separate tests for windowing.
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.
👍
Join operator API improvements.
No description provided.