Description
auto_join2.q returns wrong results when return path is on. The problem is that we create the same join expression once per input reference when we are translating. Thus, we incorrectly end up with a key composed by multiple expressions in those cases.