Can not pass the parameter from pipeline in synapse

Shubham Mehta 61 Reputation points Microsoft Employee
2021-12-08T21:59:25.517+00:00

Hello,

I am trying to execute an Azure Synapse Notebook using Notebook Activity in Synapse Pipelines and I am passing the parameters through pipeline and when I try to get those parameters in notebook with syntax {parameter} It is not able to pass the parameter in the notebook. And I am getting the error from run of the pipeline.
Error: The syntax converted string into hashset which means the parameters is not passed.

py4j.Py4JException: Method getSecret([class java.lang.String, class java.util.HashSet, class java.lang.String]) does not exist    

Can someone tell me what I am missing here?

below is my code:
156027-image.png

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
{count} votes

1 answer

Sort by: Most helpful
  1. Shubham Mehta 61 Reputation points Microsoft Employee
    2021-12-13T17:40:56.887+00:00

    The problem was resolved by making 2 changes which are follows:

    1. Assign the pipeline variable to a different variable.
    2. The syntax I used is:
      157262-image.png
    1 person found this answer helpful.

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.