{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Integrations","type":"markdown"},"seo":{"title":"Pentaho Data Import Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"pentaho-data-import-integration","__idx":0},"children":["Pentaho Data Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This article explains how to use Treasure Data with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.hitachivantara.com/en-us/home.html"},"children":["Pentaho Data Integration"]}," using ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://trino.io/docs/423/client/jdbc.html"},"children":["presto-jdbc driver"]},". By combining Treasure Data with Pentaho, users can scale their existing Pentaho Data Integration environment to handle huge volumes of data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of Treasure Data."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"download-pentaho-data-integration-kettle","__idx":2},"children":["Download Pentaho Data Integration (Kettle)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can download Pentaho Data Integration (Kettle) from the link below. Version 8.2 was tested for this article"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://kettle.pentaho.com/"},"children":["Pentaho Data Integration (Kettle)"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"download-jdbc-driver","__idx":3},"children":["Download JDBC Driver"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can download the driver from the link below. The driver is still in beta; any feedback is appreciated."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To work with Pentaho, you must use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td-jdbc-VERSION-jar-with-dependencies.jar file."]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://mvnrepository.com/artifact/com.treasuredata/td-jdbc/0.5.10"},"children":["JDBC Driver Download"]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data JDBD driver is deprecated."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"copy-jdbc-driver-jar-to-pentaho-data-integration","__idx":4},"children":["Copy JDBC Driver jar to Pentaho Data Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before starting Pentaho Data Integration, please copy the Treasure Data JDBC driver to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lib"]}," directory specified by Pentaho Data Integration."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ cp td-jdbc-VERSION-jar-with-dependencies.jar  \\\n  pentaho-data-integration-install/data-integration/lib\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-treasure-data-database-connection","__idx":5},"children":["Create Treasure Data Database Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Connect Treasure Data to Pentaho Data Integration’s database connection and make a new transformation. Please follow the procedure below."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-a-new-transform","__idx":6},"children":["Create a New Transform"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the Pentaho DI application."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/pentaho1.5627a392657af19d960c7162f85ea3463a4dbf166ac959051e1c1d6978171008.22c8db65.png","alt":""},"children":[]}," ","2. Select File > New > Transformation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/pentaho2.008f0b6a615c5aa4de9137bacc2cb9d8706a351df3960390165d638e70e11a6c.22c8db65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-new-database-connection","__idx":7},"children":["Create New Database Connection"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to Tools > Wizard > Create database connection."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/pentaho3.d87a8e1870c7857e0607440a8e32ef8bcc282615de3f1822a141f986a5aaa7d6.22c8db65.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Edit the details in the pop-up dialog."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Name the database connection"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select Generic Database for type of database"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select Native (JDBC) for type of database access"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/pentaho4.0698ebb9ee9549dfbcac94e1f31db92ce4be023c0bce8803a005f7f0d53cbac8.22c8db65.png","alt":""},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Specify the connection’s URL (view ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/endpoints"},"children":["API endpoints"]},") and the name of the driver class."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Driver class is com.treasuredata.jdbc.TreasureDataDriver"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2022-07-20-at-9.38.45.a82a5acbea14d9332063794361e9a5f8917260c8dea70faf551d8176f4b49f4d.22c8db65.png","alt":""},"children":[]}," ","The URL can be specified in any of the following ways:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jdbc:td://api.treasuredata.com/<db\\_name>"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jdbc:td://api.treasuredata.com/<db\\_name>;useSSL=True"]},"  if you want to enforce SSL"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You can choose the query engine",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/hive/quickstart"},"children":["Hive"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/trino/quickstart"},"children":["Presto"]}," (default) by the parameter"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jdbc:td://api.treasuredata.com/sample_db;useSSL=true;type=hive"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jdbc:td://api.treasuredata.com/sample_db;useSSL=true;type=presto"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Specify your username and password. Use your Treasure Data credentials for these fields (Your User Name is the email address used to register on Treasure Data)."]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select Test database connection."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/pentaho6.4daefaf1a1a5b0acd8ac8eb0c59d5d50ae9d25969e71d1bf25b118f6cf915253.22c8db65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"use-treasure-data-database-as-table-input","__idx":8},"children":["Use Treasure Data Database as Table Input"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"specify-table-input","__idx":9},"children":["Specify Table Input"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Table Input"]}," from the transform’s Input menu."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Drag and drop onto the workspace as follows:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190927-233140.7666969354b64786b3fc1dede46cacdcd2a295214221d23fe079173a3e3fa7e2.22c8db65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"edit-the-table-input","__idx":10},"children":["Edit the Table Input"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Right-click the Table input icon on the workspace."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Edit"]}," from the context menu."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Configure your Table input as follows:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190927-233323.c8d7888cf3e443e33140d2156318b507c9b9e335bb85c6bdb68b4fd23d15abdd.22c8db65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The preceding query is reviewed in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/jaspersoft-ireport-export-integration"},"children":["JasperSoft iReport with JDBC Driver"]}," article."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"confirm-the-table-input","__idx":11},"children":["Confirm the Table Input"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To confirm the behavior of the Table input, send your data on Treasure Data to JSON output as follows:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190927-233412.e1150c1c21103f781da15266ee8c4b0ca9ebbfa862fa0baf12a5508e34f02a31.22c8db65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tip-how-can-i-use-pentaho-through-a-proxy","__idx":12},"children":["Tip: How can I use Pentaho through a proxy?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check ‘start-pentaho.bat’ or ‘start-pentaho.sh’, and add the following parameters to CATALINA_OPTS option:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"CATALINA_OPTS=\"-Dhttp.proxyHost=proxy address -Dhttp.proxyPort=proxy port\"\n"},"children":[]}]},"headings":[{"value":"Pentaho Data Import Integration","id":"pentaho-data-import-integration","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Download Pentaho Data Integration (Kettle)","id":"download-pentaho-data-integration-kettle","depth":2},{"value":"Download JDBC Driver","id":"download-jdbc-driver","depth":2},{"value":"Copy JDBC Driver jar to Pentaho Data Integration","id":"copy-jdbc-driver-jar-to-pentaho-data-integration","depth":2},{"value":"Create Treasure Data Database Connection","id":"create-treasure-data-database-connection","depth":2},{"value":"Create a New Transform","id":"create-a-new-transform","depth":2},{"value":"Create New Database Connection","id":"create-new-database-connection","depth":2},{"value":"Use Treasure Data Database as Table Input","id":"use-treasure-data-database-as-table-input","depth":1},{"value":"Specify Table Input","id":"specify-table-input","depth":2},{"value":"Edit the Table Input","id":"edit-the-table-input","depth":2},{"value":"Confirm the Table Input","id":"confirm-the-table-input","depth":2},{"value":"Tip: How can I use Pentaho through a proxy?","id":"tip-how-can-i-use-pentaho-through-a-proxy","depth":1}],"frontmatter":{"seo":{"title":"Pentaho Data Import Integration"}},"lastModified":"2026-03-10T06:17:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/int/pentaho-data-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}