Since PySpark has read function for jdbc source like this:
sparkSession.read.format("jdbc")\\ .option("url", jdbcUrl)