Yandy Diaz and Kevin Kiermaier hit back-to-back home runs in the first inning and Tampa Bay spoiled the San Francisco Giants’ home opener with a 5-2 win Friday for the best start in Rays’ franchise history.

The Rays (6-2) got four straight two-out hits in the first against Dereck Rodriguez (1-1). Given a 4-0 cushion, Tyler Glasnow (2-0) pitched six scoreless innings, allowing three hits and striking out six.

Rays reliever Adam Kolarek hit Brandon Crawford to load the bases with none out in the eighth. Diego Castillo came in one out later and got Giants newcomer Kevin Pillar to ground into a double play. Jose Alvarado finished for his third save.

San Francisco Giants manager Bruce Bochy throws out the ceremonial first pitch before an opening day baseball game against the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
San Francisco Giants manager Bruce Bochy throws out the ceremonial first pitch before an opening day baseball game against the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

Ji-Man Choi and Brandon Lowe each doubled in the first, then Diaz and Kiermaier connected.

Tommy Pham’s leadoff single in the third gave him a Rays record 40-game on-base streak over two seasons, breaking Johnny Damon’s previous mark accomplished in 2011.

Austin Meadows added an RBI double in the Tampa Bay seventh.

San Francisco Giants starting pitcher Dereck Rodriguez stands on the mound after giving up a home run to the Tampa Bay Rays' Kevin Kiermaier, back right, in the first inning of a baseball game Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
San Francisco Giants starting pitcher Dereck Rodriguez stands on the mound after giving up a home run to the Tampa Bay Rays’ Kevin Kiermaier, back right, in the first inning of a baseball game Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

Rain had been in the forecast for the entire day but the weather cooperated. The tarp came on and off a couple of times before first pitch at Oracle Park, where a new scoreboard provided a highlight on a day the Giants’ bats did not.

Tampa Bay hit the road for the first time to start a nine-game trip and the Rays won their sixth in seven games. This is just their second trip to play the Giants in franchise history and first since 2002, ending the club’s longest stretch not visiting a road ballpark.

Pillar played his second home opener after a March 28 game with Toronto against the Tigers before being acquired by San Francisco on Tuesday. Pillar singled in the seventh and came home on pinch-hitter Pablo Sandoval’s double. Steven Duggar followed with a double.

No. 44 adorns first base in tribute to Hall of Famer Willie McCovey before an opening day baseball game between the San Francisco Giants and the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
No. 44 adorns first base in tribute to Hall of Famer Willie McCovey before an opening day baseball game between the San Francisco Giants and the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

BOCHY’S OVATION

Giants manager Bruce Bochy tipped his cap every direction during a roaring standing ovation of nearly 90 seconds from the sellout crowd during pregame introductions and also threw out the ceremonial first pitch. Bochy, who managed World Series titles in 2010, ’12 and ’14, is retiring after the season.

Not that he’s thinking about that right now, most concerned with making the Giants a contender again before he moves on. Yet Bochy said opening day “never gets old.”

Alysa Liu, right, the 13-year-old U.S. figure skating national champion, smiles at San Francisco Giants mascot Lou Seal, before yelling
Alysa Liu, right, the 13-year-old U.S. figure skating national champion, smiles at San Francisco Giants mascot Lou Seal, before yelling “Play ball!,” before a baseball game between the San Francisco Giants and the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

“I try not to get caught into that,” Bochy said of his future. “Just like I tell our players, ‘let’s keep our focus here on what we need to do.'”

REMEMBRANCES

The Giants paid tribute with a moment of silence to late Hall of Famer Willie McCovey, who died Oct. 31, as well as former manager Frank Robinson, managing general partner Peter Magowan and former broadcaster Hank Greenwald.

Isaiah Johnson, with the musical
Isaiah Johnson, with the musical “Hamilton,” sings the national anthem as first responders of California wildfires stand in the background before the start of an opening day baseball game between the San Francisco Giants and the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

A video tribute to McCovey was shown shortly before first pitch.

Also remembered were victims of the deadly Northern California wildfires, while first responders for the devastating fires were saluted for their service.

TRAINER’S ROOM

Dave Apelt, with security, looks at rain fall on the tarp-covered infield of Oracle Park before the start of an opening day baseball game between the Tampa Bay Rays and San Francisco Giants Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
Dave Apelt, with security, looks at rain fall on the tarp-covered infield of Oracle Park before the start of an opening day baseball game between the Tampa Bay Rays and San Francisco Giants Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

Rays: Diaz returned to the lineup after sitting out Wednesday’s home loss to Colorado with a left ankle injury.

UP NEXT

Rays: TBA on their starter. “Until we know, we’ll be ready for different scenarios,” Bochy said. “I’ve already told some guys, ‘Hey, the order may be a little bit different with what’s going on here the next two days.'”

A statue of Hall of Famer Willie McCovey stands in the rain outside Oracle Park before the start of an opening day baseball game between the Tampa Bay Rays and San Francisco Giants Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
A statue of Hall of Famer Willie McCovey stands in the rain outside Oracle Park before the start of an opening day baseball game between the Tampa Bay Rays and San Francisco Giants Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)

Giants: RHP Jeff Samardzija (0-0, 0.00 ERA) makes his second start of the season and first at home after a no-decision March 31 at San Diego.

___

Groundskeepers clear water on the tarp-covered infield of Oracle Park before the start of an opening day baseball game between the Tampa Bay Rays and San Francisco Giants Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
Groundskeepers clear water on the tarp-covered infield of Oracle Park before the start of an opening day baseball game between the Tampa Bay Rays and San Francisco Giants Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
San Francisco Giants starting pitcher Dereck Rodriguez works in the first inning of a baseball game against the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
San Francisco Giants starting pitcher Dereck Rodriguez works in the first inning of a baseball game against the Tampa Bay Rays, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
Tampa Bay Rays third baseman Yandy Diaz hits a two-run home run off San Francisco Giants starting pitcher Dereck Rodriguez in the first inning of a baseball game Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
Tampa Bay Rays third baseman Yandy Diaz hits a two-run home run off San Francisco Giants starting pitcher Dereck Rodriguez in the first inning of a baseball game Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
Tampa Bay Rays starting pitcher Tyler Glasnow works in the first inning of a baseball game against the San Francisco Giants, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)
Tampa Bay Rays starting pitcher Tyler Glasnow works in the first inning of a baseball game against the San Francisco Giants, Friday, April 5, 2019, in San Francisco. (AP Photo/Eric Risberg)