Johnson’s cycle not enough to get Arizona win

PHOENIX – Kelly Johnson hit for the cycle but it wasn’t enough to overcome three costly Arizona errors, and the surging San Francisco Giants beat the Diamondbacks 7-4 on Friday night.

Aubrey Huff hit two solo home runs and added an RBI single in San Francisco’s 14th victory in 18 games. The Giants scored two unearned runs on consecutive throwing errors by starting pitcher Edwin Jackson.

A third unearned run came home after right fielder Justin Upton misjudged a fly ball in the ninth inning.

Johnson, the third major league player to hit for the cycle this season, hit a solo home run in the first, doubled in the fifth and tripled in two runs when the Diamondbacks took a 4-3 lead in the sixth. He completed the feat with a line-drive single in the eighth, becoming the fourth Arizona player to hit for the cycle in the franchise’s 13-year history.

The throwing errors by Jackson (6-9) came on what were intended to be sacrifice bunts in the Giants’ three-run seventh.

Chris Ray (3-0) got one out for the win and Brian Wilson tossed 1 scoreless innings for his 28th save in 30 opportunities. The game went 3 hours, 45 minutes, with Arizona stranding 14 runners and San Francisco nine.

Huff had his third multihomer effort of the season as the Giants stayed three games behind first-place San Diego in the NL West.

San Francisco starter Jonathan Sanchez left after five with a 2-1 lead and the Giants made it 3-1 when Huff homered in the sixth.