KETTLE middle table input

KETTLE middle table input

  1. Select "input" -> "table input" in the core object, and drag "table input" into the new conversion page
    Insert picture description here
  2. Double-click "Table Input", you can see "Database Connection" in the interface, we can click New, and then fill in the JDBC or ODBC or other configuration parameters to connect to the database normally. Here we still use mysql as an example, as shown in the figure below.
    Insert picture description here
    Insert picture description here
  3. After the database connection is successfully established, the next step is to select the database table as the data input source, click "Get query SQL", then select the corresponding database table, and execute in the order shown below.
    Insert picture description here
  4. After selecting the database table, we can also use the SQL statement in the corresponding input box to query the data we want as the input source of the data. This is still relatively flexible. After determining the SQL statement, it is best to preview the data See if you can guarantee the accuracy of the data.
    Insert picture description here
  5. Compare the data in the table with the preview data.
    Insert picture description here
    Insert picture description here
    The table input has been completed here, and you can proceed to the following steps.

Guess you like

Origin blog.csdn.net/AnameJL/article/details/109698018