You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/batch/tutorial-run-python-batch-azure-data-factory.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,36 +106,35 @@ Save the script as `main.py` and upload it to the **Azure Storage** container. B
106
106
python main.py
107
107
```
108
108
109
-
## Set up Azure Data Factory pipeline
109
+
## Set up an Azure Data Factory pipeline
110
110
111
111
In this section, you'll create and validate a pipeline using your Python script.
112
112
113
113
1. Follow the steps to create a data factory under the "Create a data factory" section of [this article](../data-factory/quickstart-create-data-factory-portal.md#create-a-data-factory).
114
114
1. In the **Factory Resources** box, select the + (plus) button and then select **Pipeline**
115
115
1. In the **General** tab, set the name of the pipeline as "Run Python"
1. In the **Azure Batch** tab, add the **Batch Account** that was created in the previous steps and **Test connection** to ensure that it is successful
1. In the **Settings** tab, enter the command `python main.py`.
128
-
* Note that
129
-
1. For the **Resource Linked Service**, add the storage account that was created in the previous steps. Test the connection to ensure it is successful.
128
+
1. For the **Resource Linked Service**, add the storage account that was created in the previous steps. Test the connection to ensure it is successful.
130
129
1. In the **Folder Path**, select the name of the **Azure Blob Storage** container that contains the Python script and the associated inputs. This will download the selected files from the container to the pool node instances before the execution of the Python script.
1. Click **Validate** on the pipeline toolbar above the canvas to validate the pipeline settings. Confirm that the pipeline has been successfully validated. To close the validation output, select the >> (right arrow) button.
134
133
1. Click **Debug** to test the pipeline and ensure it works accurately.
135
134
1. Click **Publish** to publish the pipeline.
136
135
1. Click **Trigger** to run the Python script as part of a batch process.
0 commit comments