Add range join support to spark-sql