Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Derive Hash trait for JoinType so that other optimizer framework can use it.
Describe the solution you'd like
Derive Hash trait for JoinType
Describe alternatives you've considered
No.
Additional context