My plumber put in a joint between two different plastic cold water pipes. (A new section of pipe was needed because I drilled a hole in the pipe.) The new joint works fine when one pipe is pushed into the joint.
I'm wondering if there is some way of fixing it firmly before a carped is put down.