<@U29QCJQF3> I didn't think you can update the per...
# suitescript
t
@michoel I didn't think you can update the percentage on map reduce scripts.
m
Thanks, maybe I'll try just to know for sure. But NetSuite should be able to calculate based on number of reduce invocations run etc. It would be much harder for the script to have to calculate itself.
t
exactly im not sure how you would start your calculations
m
Well for this particular MR I shaved about 10 mins off the run time by retrieving all the results in
getInputData
stage and grouping them myself instead of using
map
to group. So, I could add extra information like group number and number of groups. It wouldn't work if I was using multiple queues, or if I didn't know the number of reduces from the outset