) Diff.between Output index and Output indexes?
Answer Posted / suman sv
Use output-index when we want to direct a single record to a single transform-output port.
Ex: suppose there are 100 input records and two output ports.
According to the transform function you specify for output-index, the split can be 50/50, 60/40, 0/100, 99/1, or any other combination that adds up to 100.
Use output-indexes to direct a single record to multiple transform-output ports.
Ex: out :: output_indexes(in) =
begin
out :1: if (in.kind == "a") [vector 0, 1, 2];
out :2: if (in.kind == "b") [vector 2, 3, 4];
out : : [vector 5];
end;
it directs records as:
Ports 0, 1, and 2 if the field in.kind is “a”
Ports 2, 3, and 4 if the field in.kind is “b”
Port 5 if otherwise
| Is This Answer Correct ? | 43 Yes | 1 No |
Post New Answer View All Answers
How many components in your most complicated graph?
What is a look-up?
Hi friends, what are the new features in abinito3.0?
How to find the project(pub,priv,common,client) in between public, Private,common?Any identification?
What is a cursor? Within a cursor, how would you update fields on the row just fetched?
What is sandbox?
What is the difference between dml expression and xfr expression?
I installed AbInito in my PC.In components there is no "select" component.How can i get that component?and How we can create user defined components?
What is the difference between rollup and scan?
What are the operations that support avoiding duplicate record?
Input A 100 NUll A NUll 200 B 100 Null B Null 300 Output A 100 200 B 100 300 Do this using Ab initio
What are the types of data processing you are familiar with?
Mention what is a partition and what are the different types of partition components in abinitio?
Can sorting and storing be done through single software or you need different for these approaches?
State the working process of decimal_strip function?