KETTLE - (ii) Data Extraction

After Chinese New Year, it has not been updated for a long time, and then write the second part of today - data extraction.

After entering the interface you will find the menu on the left there are two things: Conversion and operations; briefly about the conversion of a single conversion, can not be repeated, but can be reused; jobs are brought together other operations and multiple (single can) conversion, can trigger the timing can be timed cycle. Easy to say behind the collective situation.


KETTLE supports many forms of data entry, points overall in three ways: The first database data input (supports multiple databases relational and non-relational databases); the second text data input (common variety of text, txt , XML, etc.), the third, the system has automatically generated data (including data conversion when doing so added). In the database data, for example, as follows.

Left input -> input table

Step name (fill in the name of the step), the database connection (select the database input data), and on the steps of connecting almost repository (database connection), to obtain SQL queries, select the table you want to enter the data resides.

Get all the fields look-up table inside SQL statements, according to their own needs, their own adjustments.

If the conditions which exist query variables, you can check the allowed ...... [] and [] ...... replace the previous step but note the need to identify and input variables here do a simple input, Preview to see and click OK you can.

 

A simple table input is complete, the other input of the basic steps, too, the difference is that if the data is text, you need to tell KETTLE how to distinguish field, what is segmentation.

Generally only input data is of no use, we also need to output, more importantly, in the middle of the conversion process, you want to use a tool wanted to try to understand its functionality, try more functions of the various buttons and check boxes.

The most basic data entry is complete.

 

Guess you like

Origin www.cnblogs.com/ben-mario/p/11429229.html