sql-server - 使用 SSIS 将 SQL Server 表/ View 以 Parquet/CSV/JSON 格式加载到 Azure Data Lake。灵活的文件目标任务不断抛出错误

标签 sql-server azure ssis

我正在使用 OLEDB 源从 SQL Server 2012 读取数据,并使用灵活文件目标任务以 Parquet 格式将其保存到 Azure Data Lake。但当 azure 灵活文件目标任务在数据流中失败时,我不断收到以下错误

Data Flow

错误消息:

[Flexible File Destination] Error: Transfer data error : System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Azure.Storage.Common, Version=11.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.Azure.Storage.Common, Version=11.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at Microsoft.Azure.Storage.Data.ExceptionHandler.SetStorageExceptionContext(Exception ex, Dictionary2 exData) at Microsoft.Azure.Storage.Data.ExceptionHandler.HandleException(Exception ex, String fileSystem, String path) at Microsoft.Azure.Storage.Data.ExceptionHandler.ExecuteAction[TResult](Func1 func, String fileSystem, String path) at Microsoft.Azure.Storage.Data.BlobFSClient.IsFileSystemExist(String filesystem, Boolean swallowForbiddenError, Boolean useListPathApi) at Microsoft.Azure.Storage.Data.BlobFSClient.CreateFileSystemIfNotExist(String filesystem, Boolean swallowForbiddenError, Boolean useListPathApiToCheckFileSystemExist) at Microsoft.DataTransfer.Runtime.BlobFSMultipartSink..ctor(AzureBlobFSConnection connection, AzureBlobFSWriteInternalSettings writeSettings) at Microsoft.DataTransfer.Runtime.AzureBlobFSConnection.CreateSink(IDictionary2 properties) at Microsoft.DataTransfer.ClientLibrary.MultipartWriteSink..ctor(IConnectorPlugin connector, IDictionary2 connectionProperties, IDictionary2 writeProperties) at Microsoft.SqlServer.IntegrationService.ExtensibleFileCommon.DataTransferClientHelper.CreateBinaryDataSink(IDictionary2 sinkProperties, Guid transferId, Guid activityId, BinaryTelemetryCollector& collector) at Microsoft.SqlServer.IntegrationService.ExtensibleFileComponents.Destination.ExtensibleFileDest.TransferDataToFile()

我已经安装了 SQL Server 2012 的集成 Azure 功能包。请帮忙,谢谢。

最佳答案

您必须交叉检查在灵活文件目标编辑器中提供的文件夹路径和文件名。尽管如此,如果这导致相同的错误,我建议您安装新版本的适用于 Azure 的 Microsoft SQL Server Integration Services 功能包。

请检查类似的问题,安装最新版本的 SSIS 后该问题已得到解决。

https://developercommunity.visualstudio.com/t/ssis-azure-flexible-file-task-erroring-due-to-miss/797771?viewtype=all回答者 Bo Fan [MSFT] .

关于sql-server - 使用 SSIS 将 SQL Server 表/ View 以 Parquet/CSV/JSON 格式加载到 Azure Data Lake。灵活的文件目标任务不断抛出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71865387/

相关文章:

sql - 将 IF EXISTS 移至 WHERE 子句

iis - 将 ASP.NET MVC 4 部署到暂存并最终部署到 Windows Azure

azure - 文档中显示的sql代码未在azure synapse专用sql池上运行

xml - SSIS 如何从变量传递 XSD 路径

sql - 金额的自定义计算

用于返回递归值的 SQL 函数

sql-server - 如何在sql server 2008中使用插入后触发器

azure - 使用 Azure 进行本地托管

sql - 文本被截断或者一个或多个字符在目标代码页中不匹配,包括逆透视中的主键

sql-server - TRUE 的 DT_BOOL 值映射到tinyint 字段中的255。为什么不是 1?