Well Samehada is still an actual sword, so Preta Path would still take damage from it actually hitting him, but as far as chakra goes, that depends on who can absorb chakra faster, which I believe is Samehada.
But Samehada has a known limit on how much it can absorb in one strike.