<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to import multi tables from a database to Hive in one Component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-multi-tables-from-a-database-to-Hive-in-one/m-p/2253303#M36675</link>
    <description>&lt;P&gt;In my database, there are 100+ tables, I want to export all of them to Hive, Is there a simple way to do this? I really don't want to create 100+ "import/export flow" to do this.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:16:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:16:50Z</dc:date>
    <item>
      <title>How to import multi tables from a database to Hive in one Component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-multi-tables-from-a-database-to-Hive-in-one/m-p/2253303#M36675</link>
      <description>&lt;P&gt;In my database, there are 100+ tables, I want to export all of them to Hive, Is there a simple way to do this? I really don't want to create 100+ "import/export flow" to do this.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-import-multi-tables-from-a-database-to-Hive-in-one/m-p/2253303#M36675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to import multi tables from a database to Hive in one Component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-multi-tables-from-a-database-to-Hive-in-one/m-p/2253304#M36676</link>
      <description>&lt;P&gt;Honestly, I would use Sqoop: you can query the database to list the tables, then iterate over that into a Sqoop "select * from &amp;lt;table&amp;gt;" query. I've done something similar to execute the same query on several hundred databases that shared a common schema. Write the Sqoop job as a separate job, then run it from a parent job as:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tMSSQLInput &amp;gt; tFlowToIterate &amp;gt; tRunjob&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tMSSQLInput gets you the list of table names. tFlowToIterate can be used to populate a context variable with the current table name; you'll pass that variable to the Sqoop job using tRunjob. Keeping the jobs separate makes it easier to handle database connectivity/timeout issues, since it isolates each table load so that a single failure doesn't kill the entire job (you'll need to set up tRunjob to not die on error for this to work).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-import-multi-tables-from-a-database-to-Hive-in-one/m-p/2253304#M36676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-16T14:15:55Z</dc:date>
    </item>
  </channel>
</rss>

