logging - How to eliminate 'unused output column' warnings in SSIS jobs? -
i'm trying rid of spurious warnings in ssis progress log. i'm getting bunch of warnings unused columns in tasks use raw sql work. have data flow responsible archiving data in staging table prior loading new data. data flow looks this:
+--------------------+ | oledb source task: | | read staging table | +--------------------+ | | +---------------------------+ | oledb command task: | | upsert history table | +---------------------------+ | | +---------------------------+ | oledb command task: | | delete staging table | +---------------------------+
my 'upsert' task like:
-------------------------------------- -- update existing rows first... update history set field1 = s.field1 ... history h inner join staging s on h.id = s.id h.last_edit_date <> s.last_edit_date -- update changed records -- ... insert new rows insert history select s.* staging s join history h on h.id = s.id h.id null --------------------------------------
the cleanup task sql command:
-------------------------------------- delete staging --------------------------------------
since upsert task doesn't have output column definitions, i'm getting bunch of warnings in log:
[dts.pipeline] warning: output column "product_id" (693) on output "ole db source output" (692) , component "read piv_product staging table" (681) not subsequently used in data flow task. removing unused output column can increase data flow task performance.
how can eliminate references columns? i've tried dropping in few different tasks, none of them seem let me 'swallow' input columns , suppress them task's output. i'd keep logs clean see real problems. ideas?
thanks!
union - select columns want pass through - delete others.
i thought going address in 2008 version allow columns trimmed/suppressed pipeline.
Comments
Post a Comment