Hi,
I have a postgresql table pre_val_error with following fields
GRID_ID|ERROR_LEVEL|ERROR
121|1|ERROR1
121|2|ERROR2
121|3|ERROR3
The requirement is to write all the records to a csv file and insert a record in Oracle with count grouped by error_level. The Oracle table details are below
GRID_ID|ERROR_LVL1_COUNT|ERROR_LVL2_COUNT|ERROR_LVL3_COUNT
121|1|1|1
As you can see, the number or records has to be grouped by error_level and inserted in Oracle. I have tried aggregator, counter and nothing worked. Can anyone suggest a solution for this problem.