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

Azure Data Factory copy data from XML to SQL Synapse pool

我在 Synapse 中创建了一个 SQL 专用池 table,现在正尝试将多个 XML 文件中的数据复制到此数据库

我已将我需要的 XML 文件中的所有字段映射到目标 table 中的每个特定列,但以下错误阻止了复制数据 activity:

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. 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. If BCP command, ensure format file column count matches destination table. If SSIS data import, check column mappings are consistent with target.,},],'

知道我做错了什么吗?

这是因为XML文件中的列数与Synapse不相等。您需要检查 XML 文件的数量,并使它们与接收器列的数量相同。