airflow.providers.apache.spark.hooks.spark_jdbc_script
¶
Module Contents¶
Functions¶
|
Get Spark source from JDBC connection |
|
Transfer data from Spark to JDBC source |
|
Transfer data from JDBC source to Spark |
Attributes¶
- airflow.providers.apache.spark.hooks.spark_jdbc_script.SPARK_WRITE_TO_JDBC :str = spark_to_jdbc[source]¶
- airflow.providers.apache.spark.hooks.spark_jdbc_script.SPARK_READ_FROM_JDBC :str = jdbc_to_spark[source]¶
- airflow.providers.apache.spark.hooks.spark_jdbc_script.set_common_options(spark_source, url='localhost:5432', jdbc_table='default.default', user='root', password='root', driver='driver')[source]¶
Get Spark source from JDBC connection