add_join
convert the join specifications