'how to pass parameter to python script from a pipeline [closed]
I am building an Azure Data Factory pipeline and I would like to know how to get this parameter into the python script.
The python script is located in Databricks (DBFS) and is run from Azure DataFactory. So, in my ADF pipeline, I have some parameters which I'd like to introduce and use them insinde the python script.
Any idea on how does it work?
Solution 1:[1]
Post an answer to end this question:
Import argv from sys and then use argv[1]
to get the parameter in databricks activity.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Steve Zhao |