Transformer: No input sort key information found
Posted: Wed Nov 27, 2013 2:57 am
Hi Experts,
My job design is as follow
DS-->Transformer1-->Transformer2--->Sequential file.
In transformer2 I am using SaveInputRecord;LastRowInGroup(input-column) functions.
Now the problem is if i use sort stage before Tranformer2 for the inputkey column mentioned in LastRowInGroup function job works fine and giving the expected output but if i use the stort stage before transformer1 and in transformer2 i gave as same partition then I am getting the following error..
Error when checking operator: No input sort key information found. Keys being checked: record
( custid: string[max=11];
). Input data must be sorted with the keys that are passed to key-break function calls. If input data has already been sorted, a sort stage needs to be inserted on the input link with each key specified in "Don't Sort" mode. If input data has been pre-grouped, a sort stage needs to be inserted on the input link with at least one key not in "Don't Sort" mode.
My question is - It is mandatory for having the sort stage before the transformer which using SaveInputRecord() function even though the input is already sorted and partitioned?
My job design is as follow
DS-->Transformer1-->Transformer2--->Sequential file.
In transformer2 I am using SaveInputRecord;LastRowInGroup(input-column) functions.
Now the problem is if i use sort stage before Tranformer2 for the inputkey column mentioned in LastRowInGroup function job works fine and giving the expected output but if i use the stort stage before transformer1 and in transformer2 i gave as same partition then I am getting the following error..
Error when checking operator: No input sort key information found. Keys being checked: record
( custid: string[max=11];
). Input data must be sorted with the keys that are passed to key-break function calls. If input data has already been sorted, a sort stage needs to be inserted on the input link with each key specified in "Don't Sort" mode. If input data has been pre-grouped, a sort stage needs to be inserted on the input link with at least one key not in "Don't Sort" mode.
My question is - It is mandatory for having the sort stage before the transformer which using SaveInputRecord() function even though the input is already sorted and partitioned?