HHH-8551 Cannot use with-clause on the RHS of a join