본문으로 건너뛰기
Data Engineer Path

Your first pipeline — three nodes and one run

Connect an input dataset, a built-in transform, and an output dataset, then run the batch pipeline once.

8 min

A pipeline connects datasets, code assets, and built-in transforms from one collection into an executable flow.

In this lesson, you rename the source column ord_dt_str to order_date and write the rows to a table dataset. In the current editor, you connect the collection's input dataset → Quick Add's Rename/Cast transform → collection output dataset.

Prerequisite

Use the src_postgres_orders dataset from the previous lesson. If you skipped the connector exercise, use another tabular dataset in the same collection.

Create the output table first

Before opening the pipeline editor, create mart_orders_clean as a real dataset in the collection. A table created through Quick Add can currently leave a built-in transform pointing to an unresolved dataset reference when the pipeline is saved.

  1. Open the collection that contains src_postgres_orders.
  2. Select Add Item → Dataset → Table.
  3. Enter mart_orders_clean as the name.
  4. Define order_id as Text, order_date as Text, and amount as Integer.
  5. Select Create and confirm that mart_orders_clean appears in the collection.

Open the editor and select a collection

  1. Select Pipelines in the left sidebar.
  2. Select Create in the upper-right.
  3. On the new pipeline screen, first select the collection where the pipeline will be saved.

You cannot add or run pipeline items until a collection is selected. A pipeline can use only datasets and code from that selected collection, so choose the collection that contains your input dataset.

The Component Library on the left has a Quick Add section for new items and a Collections section for existing items. The canvas is in the center, and selecting a node opens its configuration and I/O in the inspector on the right.

Add the input dataset

  1. In the Component Library's Collections section, expand the selected collection.
  2. Drag src_postgres_orders onto the canvas.

This node references the dataset already stored in the collection; it does not create another copy.

Add a built-in transform

  1. Drag Quick Add → Transform → Rename/Cast onto the canvas.
  2. Drag from the input dataset's right handle to the transform's left handle.
  3. Select the transform and open the inspector's Config tab.
  4. Choose the connected dataset under Input port.
  5. Add a column mapping with ord_dt_str under Column and order_date under Alias. Keep the data type unchanged.
  6. Confirm that validation reports the node as valid, then select Preview.

The current built-in transforms are Select/Filter, Join, Union, Aggregate, and Rename/Cast. This pipeline uses Rename/Cast.

Add and connect the output dataset

  1. In the Component Library's Collections section, expand the selected collection.
  2. Drag the existing mart_orders_clean dataset onto the canvas. Do not create the output through Quick Add for this exercise.
  3. Connect the transform's right handle to mart_orders_clean.

Your canvas should now show:

src_postgres_orders → Rename/Cast → mart_orders_clean

Save and run once

  1. Select Save in the upper-right.
  2. Enter mart_orders_clean_pipeline and keep the pipeline type as Batch.
  3. After it is saved, select Run now.

Selecting Run now on an unsaved pipeline opens a save-first prompt. Saving and running separately the first time makes it easier to tell a save error from an execution error.

Follow the node states on the canvas and the run history bar at the bottom. When the run finishes, open mart_orders_clean in the collection and verify:

  • order_date appears instead of ord_dt_str;
  • order_id and amount match the source; and
  • all three practice rows are present.

Self-check

  • Did you select the pipeline collection before adding items?
  • Did you create mart_orders_clean in the collection before opening the editor?
  • Are the existing input dataset, Rename/Cast transform, and existing output dataset connected in order?
  • Did you save the pipeline before selecting Run now?
  • Does the output dataset show the expected schema and rows?

Next lesson

Next, you write logic that is awkward to express with built-in transforms as a reusable Python or SQL code asset and connect it to a pipeline.