Submit and Poll Spark Batch Job
A 2-step recipe with Azure Synapse Analytics. We can help you get access.
Recipe · 2 steps
Submit and Poll Spark Batch Job
Submit a Spark batch job and poll it until it reaches a terminal result.
- Submit a new Spark batch job to the pool using the supplied batch options.
- Read the batch job by id. While the livy result is still Uncertain, loop back and poll again; once a terminal result is reported, end the workflow.
What you'll need to have ready
- sparkPoolName: The name of the Spark pool to run the batch job on.
- batchOptions: The SparkBatchJobOptions body. Must include name and file at minimum.
For your developer
Arazzo workflow microsoft-azure-synapse-analytics:submit-and-poll-spark-batch-job, 2 operations: SparkBatch_CreateSparkBatchJob → SparkBatch_GetSparkBatchJob. Specs on APIs.io.