The Yankees have gotten nine excellent seasons and one championship from Robinson Cano. They have paid him about $58 million. Now he wants that much again, and about $250 million more, for a decade that almost certainly will not be as productive.

This is familiar territory for the Yankees, who caved to Alex Rodriguez six years ago, bidding against themselves after talking tough. It was a foolish deal that turned into a fiasco, with Wednesday’s walkout from a grievance hearing the latest sideshow in Rodriguez’s tired clown act.

Rodriguez, who presents himself as a mentor to younger players, has provided a road map for Cano’s free agency. By asking for $310 million over 10 years, and by shopping himself to the Mets, Cano is essentially daring the Yankees to make the same mistake with him as they did with Rodriguez. Cano’s lead agent, Jay Z, has taunted the player’s old agent, Scott Boras, in a song. Jay Z needs a splashy signing to establish credibility with other potential clients.

Cano has earned the right to explore his market value in free agency, which he delayed by two years with his previous contract. But the Yankees should heed the warning signs and get out while they can.