[英]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.