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.