TAJO-969: Distributed sort on a large data set may result in incorrect results.

Closes #87
TAJO-914: join queries with constant values can cause schema mismatch in logical plan.

Closes #78