Error when running a RDS stored procedure for PostgreSql from AWS in Azure Synapse Pipelines

TONY HERMESOM TAVARES GOMES 0 Reputation points
2023-05-02T17:58:43.1133333+00:00

I have created a pipeline to run RDS stored procedure for PostgreSQL from AWS on Azure Synapse Pipelines. To execute a procedure I am using an activity lookup. In the Lookup configuration I am doing a dynamic query, where I make the procedure call which has 3 parameters. I created a variable and 2 parameters in the pipeline to dynamically insert the data in the query inside the Lookup.

But when I execute the pipeline it generates the following error.

ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The value of the 'columns' property is invalid: 'The value cannot be null.\nParameter name: columns'.,Source=,' 'Type=System.ArgumentNullException,Message=The value cannot be null.\nParameter name: columns,Source=Microsoft.DataTransfer.Common

The curious thing is that taking the Lookup input and running it manually in postgres gives no error. And despite the error in the pipeline, a procedure is executed successfully in Postgres.

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.
5,373 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2023-05-03T06:56:17.3+00:00

    Hi TONY HERMESOM TAVARES GOMES,

    Thank you for posting query in Microsoft Q&A Platform.

    It seems you might not configured your lookup activity properly, hence ending up with this error.

    Kindly make sure not to declare your parameters in the script. Directly use those parameters in the script. And under script parameters field declare your parameters and pass values into them.

    If above not helps. Kindly share your lookup activity screenshots to understand better and try to repro at my end to help better.

    Please let me know how it goes.


Your answer

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