Make partition-collapsing job support joins on inconsistent schemas