I keep getting these warning when using an aggregate stage which is been used to either count the number of rows or calculate the sum of a column.
Warning are:
"Aggr_Count_Execution: When checking operator: When binding output interface field "ACTL_PULL_EXEC_Q" to field "ACTL_PULL_EXEC_Q": Implicit conversion from source type "dfloat" to result type "int32": Possible range/precision limitation."
"Aggr_Count_Loc: When checking operator: When binding output interface field "Count_Bkrm_Loc_Tran_C" to field "Count_Bkrm_Loc_Tran_C": Implicit conversion from source type "dfloat" to result type "int32": Possible range/precision limitation."
"Aggr_Sum_Pull_Q: When checking operator: When binding output interface field "ACTL_PULL_EACH_Q" to field "ACTL_PULL_EACH_Q": Implicit conversion from source type "dfloat" to result type "int32": Possible range/precision limitation."
Is it possible without using the modify stage?
Warning - Aggregator Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 247
- Joined: Thu Apr 27, 2006 6:38 am
- Location: Hyderabad
It has been a few months since I've touched DS. From my experience, it is nearly impossible to create "warning free" jobs.
Warnings just give you some valuable information. In this case, it is just telling you that your data may not be accurate after the aggregation due to your target being an integer. If your source data does not include decimals, you should be fine with this warning.
Warnings just give you some valuable information. In this case, it is just telling you that your data may not be accurate after the aggregation due to your target being an integer. If your source data does not include decimals, you should be fine with this warning.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not all warnings in parallel job are bad; some - like these - are alerts.
The Aggregator stage performs its calculations so as to generate dfloat results; this eliminates the possibility of arithmetic overflows (at least in our lifetimes).
When you specify a different data type in the output columns, an alert is generated to warn you that converting from dfloat to the smaller data type may result in loss of data.
To eliminate these alerts, you might use the Decimal Output properties in the Aggregator stage; there is a global one and a per-calculated-column override. Or you might use dfloat as the output field's data type and convert it downstream, for example in a Modify stage that also has the NOWARN specification.
Or, of course, you could create a local message handler to demote these alerts to informational severity.
The Aggregator stage performs its calculations so as to generate dfloat results; this eliminates the possibility of arithmetic overflows (at least in our lifetimes).
When you specify a different data type in the output columns, an alert is generated to warn you that converting from dfloat to the smaller data type may result in loss of data.
To eliminate these alerts, you might use the Decimal Output properties in the Aggregator stage; there is a global one and a per-calculated-column override. Or you might use dfloat as the output field's data type and convert it downstream, for example in a Modify stage that also has the NOWARN specification.
Or, of course, you could create a local message handler to demote these alerts to informational severity.
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: 247
- Joined: Thu Apr 27, 2006 6:38 am
- Location: Hyderabad
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
Please let me know how to convert the warnings into messages with the message handler.ray.wurlod wrote:Not all warnings in parallel job are bad; some - like these - are alerts.
The Aggregator stage performs its calculations so as to generate dfloat results; this eliminates the possibility of arithmetic overflows (at least in our lifetimes).
When you specify a different data type in the output columns, an alert is generated to warn you that converting from dfloat to the smaller data type may result in loss of data.
To eliminate these alerts, you might use the Decimal Output properties in the Aggregator stage; there is a global one and a per-calculated-column override. Or you might use dfloat as the output field's data type and convert it downstream, for example in a Modify stage that also has the NOWARN specification.
Or, of course, you could create a local message handler to demote these alerts to informational severity.