![](/img/trans.png)
[英]Getting error on null and empty string while copying a csv file from blob container to Azure SQL DB
[英]Getting error exceeded the maximum length of 128 while copying some text files from azure blob to synapse
尝试将文本文件从 Azure Blob 复制到 Synapse 时出现以下错误:
*{
"errorCode": "2200",
"message": "Failure happened on 'Source' side. 'Type=System.Data.SqlClient.SqlException,Message=Parse Error: Identifier 'ARCHIVED_AT,ID,DISPENSATION_ID,ETL_RUN_TIMESTAMP' exceeded the maximum length of 128.,Source=.Net SqlClient Data Provider,SqlErrorNumber=104307,Class=16,ErrorCode=-2146232060,State=1,Errors=[{Class=16,Number=104307,State=1,Message=Parse Error: Identifier 'ARCHIVED_AT,ID,DISPENSATION_ID,ETL_RUN_TIMESTAMP' exceeded the maximum length of 128.,},],'",
"failureType": "UserError",
"target": "Copy Blob to Synapse",
"details": []
}*
虽然我已经能够使用 ADF 管道成功地将大多数文本文件从 Azure blob 复制到 Azure Synapse,但我不确定这个文件出了什么问题。
谁能帮我弄清楚我需要做些什么来解决这个问题?
我使用的是带有 pipe 分隔符的 txt 文件,而不是 csv 文件。 我的表格的多列中有双引号以及导致问题的隐藏字符。 在我从源头更换它们后,它得到了解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.