Welcome to the Forum!

I don't know how I missed this

I'd stay 6" off the coping, just to be safe. It's easy enough to dig the 6" under the deck to check the inlet and the threaded connection.