Updated the code for join in koalas