Lookup Stage
Posted: Wed Aug 10, 2005 4:10 pm
Hi All,
In a process flow we were using a server job for doing a lookup to a hash file to lookup the value of a field and in the output we were writing the derivation for a column as:
If Field1 is 0 thenlookup.field1+@outrownum else mainstream.field1 .
The output was going to oracle.
The main stream file input was a file created in a previous parallel job(say job "X") in the flow.
Since the size of file created is huge we decided to modify the flow.
This is what we are tryng to do.
Instead of writing the output of job x to a file we are trying to pass it to a lookup stage and the output of lookup stage will go to oracle......the key factor however is to define the derivation of the output column which we are unable to do in the output stage. Is there any way to do it in lookup stage without passing the output to a transform?
What are we missing ?
Thanks.
Ash.
In a process flow we were using a server job for doing a lookup to a hash file to lookup the value of a field and in the output we were writing the derivation for a column as:
If Field1 is 0 thenlookup.field1+@outrownum else mainstream.field1 .
The output was going to oracle.
The main stream file input was a file created in a previous parallel job(say job "X") in the flow.
Since the size of file created is huge we decided to modify the flow.
This is what we are tryng to do.
Instead of writing the output of job x to a file we are trying to pass it to a lookup stage and the output of lookup stage will go to oracle......the key factor however is to define the derivation of the output column which we are unable to do in the output stage. Is there any way to do it in lookup stage without passing the output to a transform?
What are we missing ?
Thanks.
Ash.