Usually in NY at least they go about 5feet from the house and change over to other pipe.The best thing I ever did to a house with clay pipes was replace them with PVC.
Not sure if cast iron pipe comes in sections like clay, but the joints is where tree roots like to invade.
I have never seen cast iron all the way out to a pool.