Mike Yastrzemski will have an MRI on Thursday after leaving the Giants' win over the Padres on Wednesday night with a tight left hamstring.