SAN DIEGO — Arizona’s Ender Inciarte had a little chat with his manager, Chip Hale, prior to the Diamondbacks beating the San Diego Padres 4-2 on Sunday.

“Ender came in before the game and said he was excited to play against (James) Shields,” Hale said. “He took it as a real challenge.”

Consider it a challenge met.

Inciarte had two home runs among his four hits for his first multihomer game, giving him six home runs this season. He drove in three runs and also stole his 21st base.

“I was really excited to face (Shields),” Inciarte said. “It’s fun to face guys like that who are very competitive.”

David Peralta added a solo homer for Arizona.

“The pitch to Peralta was probably off the plate a little bit,” Shields said. “He put a pretty good swing on it.”

Jhoulys Chacin (2-1) went three innings to earn the win.

Brad Ziegler, the Diamondbacks’ fifth pitcher, worked the ninth for his 29th save in 31 chances. It was his 27th straight save, the longest active streak in the majors.

Shields (13-7) was charged with four runs, nine hits and four walks over 6ª innings. He had a four-game winning streak snapped.

“I felt all right,” Shields said. “I made a couple of bad pitches and that is kind of the way my season has been going.”