TAJO-1156: Improve the comparison of timestamp and date types. (Jihun Kang via jihoon)

Closes #237