简体   繁体   中英

Azure Synapse Stored Procedure from Azure Data Factory: is it a synchronous call?

I am calling a synapse stored procedure from my ADF pipeline. The stored procedure loads tens of millions of records into a synapse table from a parquet file. Yet the stored procedure activity in ADF succeeds fairly quickly. This led me to the suspicion that maybe the stored procedure performs the copy operation asynchronously in the background and succeeds the stored procedure activity before the data got copied completely.

Please confirm whether the stored procedure activity is a synchronous call or not. I could find no documentation about this.

Yes Stored Proc activity calls in Azure Data Factory (ADF) and Synapse Pipelines are synchronous. Maybe run the proc directly in Synapse Studio to get a comparison? Also, if you are creating an external table, it's just a metadata operation really so could run pretty quick.

I have a question. I am trying to call a Synapse (serverless) stored procedure from ADF and getting an error. The error says the files does not exist or do not have permission to read the file.

I could call the stored procedure from Synapse pipeline and get the results. This stored procedure reads a json file in ADLS and returns the results. I could connect to Synapse and see the proc from with ADF source definition.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM