Getting data from the database with the Table input step

The Table input step is the main step to get data from a database. To run very simple queries, the use of this step is straightforward, as explained in this example:

  1. Create a new Transformation.
  2. From the Input category of steps, select and drag to the work area a Table input step.
  3. Double-click on the step.
  4. As Connection, you should see the pagila connection selected by default. If not, select it.
The pagila connection appears by default because it's the only connection in your environment. In case you have more connections, you should choose the one that you will use.
  1. Click on the Get SQL select statement... button. The Database Explorer window appears.
  2. Expand the tables list, select ...

Get Learning Pentaho Data Integration 8 CE - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.