Friends, I am here again with other doubt with aggregator.
I have a column containing a value 1 to 30. I want to get the average value. The correct result is 15,50 but the JOB every hour brings me a different result as 15,49 or 15,50 or 15,51.
Anybody know explain me what is happing?
The JOB every hour brings me a different result
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 161
- Joined: Mon Mar 17, 2008 10:33 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Probably rounding when converting from dfloat to decimal. Remember that dfloat can not be accurately stored.
If you want accurate, consistent results, use the Preserve Type option (if using version 8.1).
If you want accurate, consistent results, use the Preserve Type option (if using version 8.1).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 4
- Joined: Mon Oct 19, 2009 2:57 am
Re: The JOB every hour brings me a different result
Before aggregator, you need to select hash partition with correct partition keys if you are using multinode config file..
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
-
- Participant
- Posts: 161
- Joined: Mon Mar 17, 2008 10:33 am