Oi Luis Guevara!
Bem-vindo ao Microsoft Q&A!
To send an input parameter to a Databricks notebook from a Data Factory pipeline, you can follow these steps:
- Create a Parameter in the Pipeline: In the Azure Data Factory pipeline, select the Parameters tab, then select + New and name it as 'date_process’.
- Pass the Parameter to the Databricks Notebook Activity: When you set up the Databricks Notebook Activity in the pipeline, you can pass the ‘date_process’ parameter to it.
Read the Parameter in the Databricks Notebook: In your Databricks notebook, you can read the parameter using dbutils.widgets.get("date_process")
.
Remember, the parameter name you use in the Data Factory pipeline and in the Databricks notebook should match. In this case, it’s ‘date_process’.
Jonathan
-----------
Se a resposta for a solução correta, clique em "Aceitar resposta" e vote educadamente nela. Se você tiver perguntas adicionais sobre essa resposta, clique em "Comentar". Nota: Siga as etapas em nossa documentação para habilitar notificações por e-mail se você gostaria de receber notificações por e-mail relacionadas a este tópico.