Chase Anderson allowed one hit in seven innings to outduel Madison Bumgarner as the Arizona Diamondbacks defeated the San Francisco Giants, 1-0, on Friday night in the opener of a three-game series at AT&T Park.