Issue #578 Handle different data types of LHS and RHS expressions in ON-clause JOIN conditions

Add isComparable check with the two types.
Add tests cases: 
1. compare between Date and Timestamp.
2. compare between VARCHAR and numeric (invalid).