Quantcast
Channel: New Latest Tips
Viewing all articles
Browse latest Browse all 260

Runtime behavior of FUSE in abinitio | Fuse Component In Abinitio

$
0
0

Runtime behavior of FUSE in abinitio | Fuse Component In Abinitio

Fuse component in abinitio - use of fuse in abinitio

Fuse component in abinitio is a  component to combines multiple input flows into a single output flow by applying a transform function to corresponding records of each flow.

Location in the abinitio Component Organizer:

  • Fuse component is available in Transform folder under organizer.

Runtime behavior of FUSE in abinitio:

Fuse in abinitio does the following:

  • Fuse in abinitio tries to read from each of its input flows:
  • Fuse in abinitio reads one record from each unfinished input port and a NULL from each finished input port.
  • Fuse in abinitio terminates when all its input flows are finished.
  • If it reads a record from at least one flow, Fuse does the following:
  • If the select function is present, discards the records if select returns 0 and uses the records as arguments to the fuse function if select returns non-0.
  • If the select function is not present, uses the records as arguments to the fuse function.
  • Fuse in abinitio sends to the out port the record returned by the fuse function.

Fuse in abinitio applies a transform function to corresponding records of each input flow. The first time the transform function executes, it uses the first record of each flow. The second time the transform function executes, it uses the second record of each flow, and so on. Fuse sends the result of the transform function to the out port.
The fuse and select functions take arguments whose number and record formats are determined by the number and record formats of the input ports. The fuse function returns a record whose record format is the same as that of the out port, and the select function returns an integer(4).
If an input record is malformed such that it is impossible to determine the boundaries of the record, Fuse sends an error message and exits. If an error occurs in either the fuse or select function, Fuse sends the input record to its corresponding reject port and sends an error message to the corresponding error port.


Viewing all articles
Browse latest Browse all 260

Trending Articles