How to pass multiple parameters for a synapse notebook activity in ADF pipeline?

Charan N D 0 Reputation points
2023-03-16T08:58:18.94+00:00

I am creating N no. of tables in Azure Synapse analytics. The table creations need to be parameterized. I want to pass these parameters in ADF pipeline in the runtime to create tables on the fly. I tested with single table. But I'm stuck for multiple tables. Can you please help me with best approach here?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha 19,527 Reputation points Microsoft Employee Moderator
    2023-03-17T21:29:04.0366667+00:00

    Hello @Charan N D ,
    Thanks for the question and using MS Q&A platform.
    Create parameters on the notebook and I assuming that you have already done that .

    User's image

    On the ADF side add parameters to the pipeline

    User's image

    In the pipeline setting and mapping the parameters

    User's image

    @pipeline().parameters.Adfparameter1
    

    Let me know how it goes.

    Himanshu

    Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues. 


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.