add join hint to flink scala PR
t&e
Moved outer product out of the loop