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

October 28 & 29: Experts share their secrets on how to pass the Fabric Analytics Engineer certification exam—live. Learn more

Reply
arpost
Kudo Collector
Kudo Collector

Anyone else getting a false error in pipelines about a column not found?

Greetings, all. We just started seeing a weird error with the Copy activity in a data pipeline. Here's the scenario:

 

We have a Copy activity that uses a Lakehouse file as its Source and a Fabric Data Warehouse as its Destination. We are adding the filename as an additional column in the Source tab:

 

arpost_2-1729871228926.png

 

When we run the pipeline, the data gets inserted just fine and all the pipeline steps work, BUT an error gets logged:

 

arpost_0-1729871059940.png

 

Here's the error message:

 

ErrorCode=DWCopyCommandTargetColumnNotFound,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=
Column 'FileName' not found in 'DataWarehouse' table '[stg].[file_type_a]'.,Source=Microsoft.DataTransfer.Connectors.MSSQLImport,'

 

See data inserted as expected with the added FileName column:

 

arpost_1-1729871168955.png

 

Anyone else experiencing this? I've done this kind of process with adding an additional column before without issue, so the error must have just started recently.

1 ACCEPTED SOLUTION
arpost
Kudo Collector
Kudo Collector

Soooo.... turns out the error was legitimate. I had misaligned column names in my tables. Fabric was right again! 😂

View solution in original post

3 REPLIES 3
arpost
Kudo Collector
Kudo Collector

Soooo.... turns out the error was legitimate. I had misaligned column names in my tables. Fabric was right again! 😂

v-kongfanf-msft
Community Support
Community Support

Hi @arpost ,

 

Based on the error message, this appears to be a known issue, do the following: first, copy the data to the lakehouse table with type. Then, copy the data from the lakehouse table to the data warehouse.

 

Refer to below document:

Known issue - Pipeline fails when copying data to data warehouse with staging - Microsoft Fabric | M...

 

Best Regards,
Adamk Kong

 

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

Thank you for that reply, @v-kongfanf-msft. This isn't actually the same error as the error to which you linked pertains to data types erroring out and failing the pipeline; the issue I reported above is a more recent thing that has started happening.

 

What's especially odd is I have other pipelines running that do the same operation but don't generate the "false" error; I call it false because the pipeline runs as it should and data gets inserted, but it logs an error as though it failed. 

Helpful resources

Announcements
Sept Fabric Carousel

Fabric Monthly Update - September 2024

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

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.