This blog is part of “HANA Cookbook for MySQL Developers”.

This document is for the introduction of the basic function of Pentaho and how to export the data from MySQL and import into HANA Database. Here is Part II.

Create “Table Output” for HANA Database

1. Drag and drop the Table Output component.

/wp-content/uploads/2014/02/018_388972.png

2. Create a new database connection for HANA Database. Currently, there is no specific connection type for HDB, so we could use generic JDBC connection.

/wp-content/uploads/2014/02/019_388973.png

3. Test the connection configuration.

/wp-content/uploads/2014/02/020_388975.png

4. Set the Table Output configuration. We use the table “ORDER_INFO_KETTLE” for data destination.

/wp-content/uploads/2014/02/021_388977.png


Use “Select values” to map the data structure of Input and Output.

1. Drag and drop the Select Values component to the design area.

/wp-content/uploads/2014/02/022_388979.png

2. Link the Select Values component with the Stream Lookup.

/wp-content/uploads/2014/02/023_388980.png

3. Link the Select Values with Table Output.

/wp-content/uploads/2014/02/024_388981.png

4. Double click the Select Values component to open the property window. Click “Get fields to select” button to get the fields info from the Stream Lookup.

/wp-content/uploads/2014/02/025_388982.png

5. Click the “Edit Mapping” button to map the fields with the Table Output component.

/wp-content/uploads/2014/02/026_388983.png

6. Click “OK”.

/wp-content/uploads/2014/02/027_388984.png

7. Let the system to “Guess” the mapping.

/wp-content/uploads/2014/02/028_388985.png

8. Not smart enough.

/wp-content/uploads/2014/02/029_388986.png

9. We made the adjustment manually and click “OK” to close the property window.

/wp-content/uploads/2014/02/030_388987.png

Run the transformation

1. Click “Run” button in the design area.

/wp-content/uploads/2014/02/031_388994.png

2. The execution window pops up. Clicks the “launch” button directly.

/wp-content/uploads/2014/02/032_388995.png

3. After no time, the execution completed.

/wp-content/uploads/2014/02/033_388996.png

4. This is the result.

/wp-content/uploads/2014/02/034_388997.png


<<over>>

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply