Icon

01 Development data pipeline - Integrated deployment

This workflow reads a sample of restaurant orders data, cleans and transforms it, and loads the transformed data to the development database. Besides, it captures the data transformation segment and saves it as a separate Data Transformation workflow.
Annotations and comments
  • Part 1 - Preparing a data pipeline for deployment Exercise 01 Development data pipeline - Integrated deployment
  • Learning objective: In this exercise you'll learn how to use integrated deployment to capture data transformation segment of a development data pipeline workflow and how to upload and version an automatically created data transformation workflow on KNIME Hub. Workflow description: This workflow reads a sample of restaurant orders data, cleans and transforms it, and loads the transformed data to the development database. Besides, it captures the data transformation segment and saves it as a separate Data Transformation workflow directly on KNIME Hub. You'll find the instructions to the exercises in the yellow annotations.
  • Step 1. Capture the workflow segment using Integrated Deployment Capture the Data Transformation segment of the workflow After reading the data, add the Capture Workflow Start node to begin the workflow capturing process Use the Capture Workflow End node after the Summarize TimeStamp-Hour component to end the capturing process
  • Step 2. Save the Data Transformation workflow In the Workflow Writer node: Use the workflow relative path to write to /00 Deployment workflows folder Enable overwriting of the workflow Use custom workflow name: Data_Transformation In the Inputs and outputs tab: Select Workflow Input and Workflow Output nodes for the input and output nodes to be added automatically Explore the automatically created workflow
  • Extract a sample
  • Transform
  • Load (development DB)
  • Recent data from last week
  • Filter relevant cols
  • Append: orders_cleaned
  • Remove Duplicates
  • by time, restaurant
  • "Price" Column to Number
  • "Table ID" Column to Number
  • Date&Time
  • Day of Month
  • Hour
  • Month Num
  • Save the data transformation workflow

Nodes

Extensions

Links