排序转换会丢弃行吗? [英] Sort transformation drops rows?

查看:57
本文介绍了排序转换会丢弃行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试SSIS包(SQL 2017目标,带有SSDT的VS 2015)时,我注意到其中一个Sort转换显然"丢失"了。大约85%的记录 - 以及"删除具有重复排序值的行"未经检查。 
在Sort转换中的471,226行中,只有66,899行被报告传递给下一个转换(合并加入)。 

While debugging an SSIS package (SQL 2017 target, VS 2015 with SSDT), I noticed that one of the Sort transformations apparently "lost" about 85% of all the records - and the "Remove rows with duplicate sort values" is Unchecked.  Out of 471,226 rows in to the Sort transformation, only 66,899 are reported to be passed to the next transformation (a Merge Join). 

我想我看到这个(Sort - > Merge)可能是2008年的一个问题,但我不记得看到更近期的事情。

I think I saw that this (Sort -> Merge) may have been an issue in 2008, but I don't recall seeing anything more recent.

提供什么?

(我的VS显示以下内容:)

(My VS shows the following:)

Visual Studio的BI Developer Extensions v2.1.1 2015 - 扩展SQL Server数据工具的加载项

BI Developer Extensions v2.1.1 for Visual Studio 2015 - An add-in to extend SQL Server Data Tools

Microsoft SQL Server数据工具14.0.61712.050

Microsoft SQL Server Data Tools 14.0.61712.050

Microsoft SQL Server Integration Services Designer

版本14.0.1000.169

Microsoft SQL Server Integration Services Designer
Version 14.0.1000.169

推荐答案

您好TBQ,

可能您是否要分享排序转换中的列和排序列的数据类型?

Could you please share the columns in your Sort Transformation and the data type of the sorted columns?

请尝试重新创建相同的包以查看排序转换是否仍然丢失记录。

Please try to recreate the same package to see if Sort Transformation still lost records.

请参阅类似的问题  排序后SSIS数据丢失 。

Please refer to the similar issue SSIS Data loss after sort .

最好的问候,

Mona Lv


这篇关于排序转换会丢弃行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆