Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
dzav
Advocate III
Advocate III

copy task succeeds before actually completing

I've got a Fabric pipeline with the following 3 steps:

1) Copy task: load data from bronze lakehouse files to bronze delta table

2) Stored procedure task: load data from bronze delta table (via sql view) using CTAS to a silver warehouse table

3) Notebook task: refresh the semantic model for the report

 

I've noticed (and I've verified this repeatedly) that the copy task succeeds and moves on to step 2 while the bronze delta table is not yet populated (via sql endpoint query). That obviously causes downstream issues, but I've been able to get around this with a wait task. Has anyone else experienced this? Is the issue a bug with the copy task or is there a delay in the data being available via the sql endpoint table in the bronze lakehouse?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dzav ,

From what I’ve found, this issue might be related to a delay in data availability via the SQL endpoint rather than a bug in the copy task itself. You can look at this document for a further study: How to copy data using copy activity - Microsoft Fabric | Microsoft Learn

 

Using a wait task, as you’ve done, is a practical workaround. Another approach could be to implement a polling mechanism in your pipeline to check for data availability before proceeding to the next step. This can help ensure that the data is fully populated and ready for the subsequent tasks.

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I'm seeing the same thing in an integration scenario.

 

Pipeline Steps:

1) Invoke Pipeline: Multiple Copy Data activities, where each load from Amazon RDS tables to lakehouse tables

2) Copy Data: query and transform lakehouse table data via data warehouse, destination to same warehouse

3) Notebook: API POST to non-Fabric cloud platform

 

Step 2 is starting before all the data from Step 1 is available in the lakehouse tables.  Step 1 has the "Wait on completion" setting checked on the invoke Pipeline activity, and I have confirmed that Step 2's Start time is indeed after Step 1's completion time per the Monitoring Hub.

 

It appears that Copy tasks writing to Lakehouse tables get marked as Completed prior to the data being available.  When Copy Destination = Lakehouse Table, there should be an activity setting that does the polling built-in, rather than requiring users to add complexity to pipelines with Until activities and custom polling.

Anonymous
Not applicable

Hi @dzav ,

From what I’ve found, this issue might be related to a delay in data availability via the SQL endpoint rather than a bug in the copy task itself. You can look at this document for a further study: How to copy data using copy activity - Microsoft Fabric | Microsoft Learn

 

Using a wait task, as you’ve done, is a practical workaround. Another approach could be to implement a polling mechanism in your pipeline to check for data availability before proceeding to the next step. This can help ensure that the data is fully populated and ready for the subsequent tasks.

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors