Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions airflow/providers/microsoft/azure/hooks/synapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def run_spark_job(
):
"""
Run a job in an Apache Spark pool.

:param payload: Livy compatible payload which represents the spark job that a user wants to submit.
"""
job = self.get_conn().spark_batch.create_spark_batch_job(payload)
Expand Down Expand Up @@ -196,6 +197,7 @@ def cancel_job_run(
) -> None:
"""
Cancel the spark job run.

:param job_id: The synapse spark job identifier.
"""
self.get_conn().spark_batch.cancel_spark_batch_job(job_id)