...
In this exercise, you will merge the two sets of data you just loaded into PhixFlow: the data from the file, and the data from the database.
- In the model
...
- toolbar, drag the
onto your model.Insert excerpt _stream_merge _stream_merge nopanel true - In the settings, set Name:
Customer All Details
...
- .
- Click
to save and close the settings for theInsert excerpt _finish _finish nopanel true Customer All Details
merge stream. - In the model,
...
- hover your mouse pointer over the
CustomerAddresses
stream. - In the pop-up toolbar, select
, then click the end of the arrow onto the streamInsert excerpt _pipe _pipe nopanel true Customer All Details
. - Similarly, add a
...
- pipe from the stream
SOURCE_CUSTOMER_PHONE_NUMBERS
toCustomer All Details
. - Double-click on the
...
- pipe from
CustomerAddresses
toCustomer All Details
to open the pipe settings.- In the Basic Settings section,
...
- set:
- Name: this pipe is automatically named
in
.
- Name: this pipe is automatically named
In the Sort/Group section
- set:
...
:
- Click
. PhixFlow displays the list of attributes (columns). DragInsert excerpt _attributes_show _attributes_show nopanel true CustomerRef
from the list into the settings. - Close the list of attributes.
- Click
- Double-click on the connector from
CustomerAddresses
to
, this will be calledSOURCE_CUSTOMER_PHONE_NUMBERS
in_2
In the Sort/Group section, press Show Stream Attributes
- From the list that appears, drag
CUSTOMER_REF
into the list - Close the list of attributes
- Now add attributes to the merge stream:
- From the hover menu of
CustomerAddresses
, press Show Stream Attributes - Drag all attributes from this list over the top of
Customer All Details
and "drop" (i.e. release your mouse button)- Note that you can select all attributes by selecting the top attribute, pressing Shift and then selecting the bottom attribute
- When the dialogue appears, select Use original attribute name
- Similarly, drag all attributes from
toSOURCE_CUSTOMER_PHONE_NUMBERS
Customer All Details
- To see the resulting configuration in
Customer All Details
, double-click on this stream- In the attributes section, you will see the added attributes
- From the hover menu of
Run Analysis on Stream
Run analysis on your new stream:
...