Description
Currently the join operators are not well abstracted, since there are lot of common logic. A trait can be created for easier pattern matching and other future handiness.
This is a follow up based on comment
https://github.com/apache/spark/pull/27509#discussion_r379613391