Developer forum

Forum » Integration » Data import problem column does not exist

Data import problem column does not exist

Yung Yi Wang
Reply

I have a problem with import for products. I get an error but I have no idea where the problem is.
I did some debugging but the column exist.

What is the problem here?

di, 14 jun 2016 14:00:38 Starting job - Product Import - 2.Product.
di, 14 jun 2016 14:00:39 Starting import to temporary table for EcomVariantOptionsProductRelation.  
di, 14 jun 2016 14:06:51 Added 2828 rows to temporary table for EcomVariantOptionsProductRelation.  
di, 14 jun 2016 14:06:51 Finished import to temporary table for EcomVariantOptionsProductRelation.  
di, 14 jun 2016 14:06:51 Starting import to temporary table for EcomVariantgroupProductRelation.  
di, 14 jun 2016 14:07:55 Added 199 rows to temporary table for EcomVariantgroupProductRelation.  
di, 14 jun 2016 14:07:55 Finished import to temporary table for EcomVariantgroupProductRelation.  
di, 14 jun 2016 14:07:55 Starting import to temporary table for EcomProducts.  
di, 14 jun 2016 14:09:30 Added 3027 rows to temporary table for EcomProducts.  
di, 14 jun 2016 14:09:30 Finished import to temporary table for EcomProducts.  
di, 14 jun 2016 14:09:30 Starting import to temporary table for EcomProductCategoryFieldValue.  
di, 14 jun 2016 14:09:32 Added 10000 rows to temporary table for EcomProductCategoryFieldValue.  
di, 14 jun 2016 14:09:33 Added 20000 rows to temporary table for EcomProductCategoryFieldValue.  
di, 14 jun 2016 14:09:34 Added 26721 rows to temporary table for EcomProductCategoryFieldValue.  
di, 14 jun 2016 14:09:34 Finished import to temporary table for EcomProductCategoryFieldValue.  
di, 14 jun 2016 14:09:49 Import job failed: Failed to remove rows from Table [dbo.EcomVariantgroupProductRelation] that where not present in source. Exception message: Invalid column name 'ProductVariantID'. Sql query: Delete from [dbo].[EcomVariantgroupProductRelation] where not exists (select * from [dbo].[EcomVariantgroupProductRelationTempTableForBulkImport] where ([dbo].[EcomVariantgroupProductRelation].[VariantgroupProductRelationID]=[VariantgroupProductRelationID] or ([dbo].[EcomVariantgroupProductRelation].[VariantgroupProductRelationID] is null and [VariantgroupProductRelationID] is null)) ) and ( [ProductVariantID] = @conditional0 )  
di, 14 jun 2016 14:09:54 Finished job - Product Import - 2.Product.

Replies

 
Morten Snedker
Reply
This post has been marked as an answer

Hi Yung,

I think you may have stumbled upon bug #22129 " 'Remove missing rows' fails when using conditionals". Please try upgrading to 8.1.1.0 where this has been fixed...

 

Best regards
Morten Snedker

Votes for this answer: 1
 
Yung Yi Wang
Reply

You mean core 8.8.1.0 and higher right? I am using core 8.8.0.6.

I can't upgrade the core at the moment because of Ogone bug issue #23273. Is there a workaround to fix this SQL error??

 

 
Morten Snedker
Reply

Only in the sense that you think out a clever approach where you don't need to have the conditional in Data Integration job.

Apart from that: 23273 has status ready for test, so it seems that a release with this fix is just around the corner...

Best regards
Morten Snedker

 

You must be logged in to post in the forum