San Francisco almost pulled off a series win over the playoff-bound Arizona Diamondbacks this week but surrendered three runs in the ninth inning on Wednesday and allowed the winning run to score on a bases-loaded walk in a 4-3 setback.
Sandoval hit a 3-2 fastball from rookie Phil Maton (3-2).
"San Francisco thank you for putting this jersey on me."He wouldn't take the win - Wil Myers' game-tying home run took care of that in the sixth - but there was no more fitting footnote to an incredible career. "I don't know what's going to happen, but he certainly has done his part".
It was a disaster year for San Francisco, and Sandoval wasn't very good with them or the Red Sox.
The Giants lost 23 more games than they did last season in their worst year since 1985, when they lost 100 games.
Following the season's final game, the last of Matt Cain's career, the career Giant offered fans and teammates an emotional farewell to his 13-year career in the City by the Bay.
The Giants hadn't won a series with the Padres since the 2016 All-Star break, losing seven of eight with one series tie over that stretch.
Cueto struggled to get through five innings, allowing 12 hits but just four runs. The 24-year-old right-hander threw a season-high 108 pitches. Though Perdomo reached third base in just over 11.5 seconds to become the first pitcher with four triples in the same season since 1955, Parker should have been able to limit him to a double. Matt Williams, the third overall pick in 1986, came onto the field during the seventh inning stretch to give away a auto. "We're hoping to make the playoffs next season, that's our biggest goal".