The description of the thorn whip cantrip says:
You create a long, vine-like whip covered in thorns that lashes out at your command toward a creature in range. Make a melee spell attack against the target. If the attack hits, the creature takes 1d6 piercing damage, and if the creature is Large or smaller, you pull the creature up to 10 feet closer to you.
If a character has gained immunity to all piercing damage, would that character also be immune to the pull effect of thorn whip?