TBD-1085: Fix join issue in the tSparkJoin