PHOENIX-839 Joining on a dynamic column doesn't work