Create a Graphical View in a Transformation Flow

Create a graphical view transform that uses SQL syntax to combine and transform data as part of your transformation flow. You can drag and drop sources from the Repository tab or from the Sources tab, join them as appropriate, add other operators to remove or create columns and filter or aggregate data.

Context

When working in a view transform, you are using an editor similar to the standard view editors with the following modifications:
  • To use input parameters in a transformation flow, create them in the transformation flow first before adding a view transform, then map them to sources that support input parameters before configuring your view transform.

  • If you add an entity containing input parameters as a source to a view transform, then you must set a value for each input parameter.

  • You cannot save and deploy the view transform (the secondary editor) separately from the transformation flow (the primary editor). To exit the view transform editor, click the (Navigate Back) button in the editor toolbar.

Procedure

  1. On the New Transformation Flow screen, click the View Transform node.
  2. Create a new Graphical View Transform for your transformation flow by clicking the Graphical View Transform button.
  3. The system displays the Graphical View Editor. Add a source. For more information, see Add a Source to a Graphical View.
    You can use only one table source with Delta Capture On in a transformation flow. Additionally, the following actions cannot be performed on the delta capture enabled source:
    • Calculated Column: You cannot use a column of type Change_Date to create a new calculated column.

    • Mapping: You must map a source column of type Change_Type to a target column of the same type. To map a source column of type Change_Type to a target table of a different type, create a calculated column. You can map a source column of type Change_Date only to a column of the same type in the target table.

    • Union: You cannot join two Delta Capture tables in a union. You cannot create a union when any source table has the value Delta Capture for the option Load from Table.

    • Join: You can join two Delta Capture tables only when one source table has the value Delta Capture for the option Load from Local Table.

  4. Optional: Drag additional sources from the Repository tab or from the Sources tab and drop them onto a source to create a join or union. For more information, see Create a Join in a Graphical View and Create a Union in a Graphical View.
  5. Click a node in the diagram to display tools for creating operators and performing other actions:

    Tools

    Description

    (Filter)

    Add a Filter node to filter your data with an SQL expression. For more information, see Filter Data in a Graphical View.

    (Rename/Exclude Columns)

    Add a Projection node to rename, reorder, or exclude columns. For more information, see Reorder, Rename, and Exclude Columns in a Graphical View.

    (Calculated Columns)

    Add a Calculated Columns node to create new columns and define calculations in them. For more information, see Create a Calculated Column in a Graphical View.

    (Aggregation)

    Add an Aggregation node to perform SUM, COUNT, MIN, and MAX calculations. For more information, see Aggregate Data in a Graphical View.

    (Join Suggestion)

    Create a join from a list of Related Entities that is populated based on the presence of associations between the current source and other artifacts.

    (Preview Data)

    Preview the data output by the selected diagram node in the Data Preview panel (see Viewing Object Data).

    You can preview the SQL generated for the node by clicking the Preview SQL button in the panel or by clicking Export and selecting Preview SQL. Click Copy to copy the SQL code for pasting into the SQL View editor or elsewhere.

    (Impact and Lineage Analysis)

    Open the Impact and Lineage Analysis diagram. This diagram enables you to understand the lineage and impacts of the selected object. (see Impact and Lineage Analysis.)

    (Open in New Tab)

    Open the object in its own editor in a new tab.

  6. Click the (Navigate Back) button to save your work and return to the Transformation Flow Editor. You can then add or create a target table for the transformation flow. For more information, see Create or Add a Target Table to a Transformation Flow.