SATURDAY: The Giants have officially announced the deal.

FRIDAY: The Giants have found their replacement for Pablo Sandoval, at least for the time being. San Francisco has added third baseman Casey McGehee from the Marlins in a trade that sends young righties Kendry Flores and Luis Castillo to the Fish.

Miami was said to be quite high on McGehee after he turned in a nice rebound campaign with the team last year. But the organization jumped on the chance to add Martin Prado in a deal with the Yankees, and wasted no time in moving McGehee to another team with a need at third.

McGehee had a solid return season last year for Miami, after playing one year in Japan. He slashed .287/.355/.357 over 691 plate appearances, though a .335 BABIP certainly helped with his batting average and on-base numbers. Indeed, a drastic fall in his batting average on balls in play in last season’s second half contributed to a much less productive tail end of the season for the National League Comeback Player of the Year. He ultimately checked in at about one or two wins above replacement, depending upon one’s formula of choice.

Of course, San Francisco will not expect McGehee to fully replace the production of Sandoval, who will take the field for the Red Sox next year (and for several years thereafter). McGehee will presumably be expected to hold down the position for 2015 while the team looks for longer-term solutions. And he will do so at a fairly palatable price, as he is projected by MLBTR and Matt Swartz to earn $3.5MM through arbitration this year, his final season of eligibility before reaching free agency.

Juan C. Rodriguez of the Sun-Sentinel first reported on Twitter that the deal was close. Jon Heyman of CBSSports.com tweeted that the deal was done. MLB.com’s Joe Frisaro (via Twitter) and Rodriguez (likewise) reported the return. Henry Schulman of the San Francisco Chronicle tweets that the deal is “official.”