Suffolk County Water Authority sued Riverhead, seeking a court ruling that its North Fork pipeline project is exempt from local zoning.