简体   繁体   English

Azure 数据工厂将数据从 XML 复制到 SQL 突触池

[英]Azure Data Factory copy data from XML to SQL Synapse pool

I've created a SQL Dedicated pool table in Synapse, and now trying to copy data from multiple XML files to this database我在 Synapse 中创建了一个 SQL 专用池表,现在尝试将数据从多个 XML 文件复制到该数据库

I've mapped all fields from the XML file that I need to each specific column in the destination table, but the following error is blocking the copy data activity:我已将 XML 文件中的所有字段映射到目标表中的每个特定列,但以下错误阻止了复制数据活动:

Message=Column count in target table does not match column count specified in input.消息=目标表中的列数与输入中指定的列数不匹配。 If BCP command, ensure format file column count matches destination table.如果是 BCP 命令,请确保格式文件列计数与目标表匹配。 If SSIS data import, check column mappings are consistent with target.,Source=.Net SqlClient Data Provider,SqlErrorNumber=107098,Class=16,ErrorCode=-2146232060,State=1,Errors=[{Class=16,Number=107098,State=1,Message=Column count in target table does not match column count specified in input.如果SSIS数据导入,检查列映射是否与目标一致,Source=.Net SqlClient Data Provider,SqlErrorNumber=107098,Class=16,ErrorCode=-2146232060,State=1,Errors=[{Class=16,Number=107098 ,State=1,Message=目标表中的列数与输入中指定的列数不匹配。 If BCP command, ensure format file column count matches destination table.如果是 BCP 命令,请确保格式文件列计数与目标表匹配。 If SSIS data import, check column mappings are consistent with target.,},],'如果SSIS数据导入,检查列映射是否与目标一致。,},],'

Any idea what I am doing wrong?知道我做错了什么吗?

This is because the count of column in the XML files and Synapse is not equal.这是因为 XML 文件和 Synapse 中的列数不相等。 You need to check the count of your XML files and make them be same as the count of your sink's column.您需要检查 XML 文件的计数,并使它们与接收器列的计数相同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从Azure数据工厂中的azure blob存储中获取某些数据,并将目标作为SQL数据库执行复制活动? - How to get just certain data from azure blob storage in Azure Data Factory performing copy activity with destination as SQL database? Azure 突触,SQL 池作为数据流中的源 - Azure synapse, SQL pool as a source in dataflow Excel 到 Azure 数据工厂到 SQL - Excel into Azure Data Factory into SQL Azure 数据工厂 -> 查找、ForEach 和复制活动 - Azure Data Factory -> Lookup , ForEach and copy activity Azure 数据工厂比较和复制缺失的行 - Azure Data Factory compare and copy missing rows Azure数据工厂数据流json到SQL - Azure data factory data flow json to SQL 有没有办法从 Azure 数据工厂内部编写 SQL 查询? - Is there a way to author a SQL query from inside Azure Data Factory? 每月在 Azure 数据工厂中的复制活动中自动更改日期以将数据从 SAP HANA 复制到 Azure SQLDB - Changing a Date automatically every month in copy activity in Azure Data Factory to copy data from SAP HANA to Azure SQLDB 在不使用 ADF 的情况下,将数据从本地传输到 azure 突触数据库 - Data transfer from on prem to azure synapse database with out using ADF 用户在 Azure Synapse 专用 SQL 池中执行的查询? - Queries executed in Azure Synapse dedicated SQL Pool by User?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM