Hi
I have noticed that this script runs about 4 times slower than the script at the bottom :
Load
ApplyMap ( 'MapSicknessHours' , [SCD Environment Date Employee Key] , 0 ) as [Sickness Hours] ,
*
;
Load
[SCD Environment] & '|' & [Date] & '|' & [SCD Employee Number] as [SCD Environment Date Employee Key] ,
*
resident Temp10
;
Whereas eliminating the Preceding Load is 4 times faster :
Load
ApplyMap ( 'MapSicknessHours' , [SCD Environment] & '|' & [Date] & '|' & [SCD Employee Number] , 0 ) as [Sickness Hours]
resident Temp10
;
I am curious as to why is the case. Any ideas anybody ?
Normally I love preceding loads, but not in this case.
Best Regards, Bill