iT邦幫忙

2017 iT 邦幫忙鐵人賽
DAY 5
1
Big Data

30天學會Data Integration - Kettle系列 第 5

Transformation基本操作

  • 分享至 

  • twitterImage
  •  

操作的部分終於來囉~~~此篇將介紹Transformation的基本操作,分成五個部分:

  1. 建立Transformation
  2. 儲存Transformation
  3. 開啟Transformation
  4. 觀察View頁籤
  5. 設定Transformation屬性

1.建立Transformation

提供三種操作方式給大家參考:

1.1 在主要工具列上按第一個按鈕,選擇Transformation

http://ithelp.ithome.com.tw/upload/images/20161220/20091626gncSmBjw3H.png

1.2 在View頁籤中,於Transformation項目上點兩下,或是按滑鼠右鍵,點選New

如果主要編輯區域已經在編輯Transformation,那此時的View頁籤只看到Transformation項目
http://ithelp.ithome.com.tw/upload/images/20161220/20091626ZsVomwTxj0.png

1.3 快捷鍵:Ctrl+N


2.儲存Transformation

提供三種操作方式給大家參考,儲存後的是.ktr檔案格式

2.1 主要工具列file選單下的Save

http://ithelp.ithome.com.tw/upload/images/20161220/20091626aLfcAthyTI.png

2.2 主要工具列的儲存icon

http://ithelp.ithome.com.tw/upload/images/20161220/20091626tgrCMMqvJh.png

2.3 快捷鍵:Ctrl+S


3.開啟Transformation

提供二種操作方式給大家參考:

3.1 主要工具列file選單下的Open

http://ithelp.ithome.com.tw/upload/images/20161220/20091626ttLHJvfj4R.png

3.2 將ktr檔案直接從資料夾拖曳到次要工具列中放開

在這邊直接開始Kettle中的範例,以方便下個步驟觀察View頁籤
http://ithelp.ithome.com.tw/upload/images/20161220/20091626mVBn5Po8BL.png


4.觀察View頁籤

觀察下圖,我們可以看到打開\data-integration\samples\transformations\CSV Input - Reading customer data.ktr之後的View頁籤,這邊會看到的transformations中的Steps與Hops清單
http://ithelp.ithome.com.tw/upload/images/20161220/20091626HLCRCYoiST.png


5.設定Transformation屬性

參考上圖,可以在主要編輯區,空白處按右鍵,點選porperties來進行設定,不過我很少在這邊設定東西,若後續的操作有帶到再進一步說明
http://ithelp.ithome.com.tw/upload/images/20161220/20091626ObZdmyiy51.png

下一篇將開始介紹Transformation的Steps與Hops基本操作


上一篇
Job 與 Transformation 基本觀念
下一篇
Steps與Hops基本操作
系列文
30天學會Data Integration - Kettle30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言