code: func (p *PhysicalHashJoin) SetCorrelated() {
  	p.basePlan.SetCorrelated()
  	for _, cond := range p.EqualConditions {
  		p.correlated = p.correlated || cond.IsCorrelated()
  	}
  	for _, cond := range p.LeftConditions {
  		p.correlated = p.correlated || cond.IsCorrelated()
  	}
  	for _, cond := range p.RightConditions {
  		p.correlated = p.correlated || cond.IsCorrelated()
  	}
  	for _, cond := range p.OtherConditions {
  		p.correlated = p.correlated || cond.IsCorrelated()
  	}
  }
docs: // SetCorrelated implements Plan interface.