简体   繁体   English

SSIS排序任务(数据流)

[英]SSIS Sort task (data flow)

I have a package where I am sorting by Aged Months column, I am not doing any other thing to filter the data and I am not removing duplicates, but once the data flow passes the Sort task the output rows are much less than the input. 我有一个包,其中按“月龄”列进行排序,我没有做任何其他事情来过滤数据,也没有删除重复项,但是一旦数据流通过了“排序”任务,输出行就会比输入少得多。 (1.218.206 rows in - only 53,344 out) any clue what's happening here? (1.218.206行进入-仅53,344行)这里有什么线索吗?

在此处输入图片说明

I just solved it, I removed a derived column at the end of the package with some calculations and now all data get loaded into my destination. 我刚刚解决了这个问题,我通过一些计算在包的末尾删除了一个派生列,现在所有数据都被加载到了我的目的地。 it doesn't make any sense since the derived column is way below the sorting task but for some reason that worked. 这没有任何意义,因为派生列位于排序任务之下,但出于某些原因起作用。

Thank you @DrHouseofSQL 谢谢@DrHouseofSQL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM