<?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 Re: Hadoop to Oracle with Dynamic schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311942#M82939</link>
    <description>&lt;P&gt;In&amp;nbsp;&lt;SPAN&gt;Scenario 2 , Build the select query dynamically using Hive Metastore for that table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2018 20:54:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-18T20:54:22Z</dc:date>
    <item>
      <title>Hadoop to Oracle with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311941#M82938</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following scenario at hands :&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;I receive a flat file on a daily basis that is imported into HDFS.&lt;/LI&gt;
 &lt;LI&gt;This file has a variable amount of columns&lt;/LI&gt;
 &lt;LI&gt;I need to design a job that takes the data from this HDFS file, and populates an Oracle table.&lt;/LI&gt;
 &lt;LI&gt;This Oracle table will be dropped and recreated at every run due to the variable amount of columns&lt;/LI&gt;
 &lt;LI&gt;All datatypes can be defined as String (VARCHAR2) in the Oracle table. (As I think there's no way to 'guess' the datatypes at runtime from a CSV.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I've been breaking my head around the design, and have come up with the following design limitations at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Scenario 1
  &lt;UL&gt;
   &lt;LI&gt;tHDFSInput -&amp;gt; tOracleOutput&lt;/LI&gt;
   &lt;LI&gt;I would be using the a 1 column schema of type 'Dynamic' to achieve this&lt;/LI&gt;
   &lt;LI&gt;Issue : Type Dynamic is not supported by tHDFSInput&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
 &lt;LI&gt;Scenario 2
  &lt;UL&gt;
   &lt;LI&gt;Script a Hive Create Table statement based on the header row of the hdfs file&lt;/LI&gt;
   &lt;LI&gt;Create the external table pointing to the HDFS file&lt;/LI&gt;
   &lt;LI&gt;tHiveInput -&amp;gt; tOracleOutput&lt;/LI&gt;
   &lt;LI&gt;Issue : Type Dynamic is not supported by tHiveInput&lt;/LI&gt;
  &lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Is there a trick to be able to use a Dynamic schema in Hive/HDFS components?&lt;/P&gt;
&lt;P&gt;Or I there a better way all together to approach this design?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your input,&lt;/P&gt;
&lt;P&gt;Kr,&lt;/P&gt;
&lt;P&gt;Michael&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311941#M82938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop to Oracle with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311942#M82939</link>
      <description>&lt;P&gt;In&amp;nbsp;&lt;SPAN&gt;Scenario 2 , Build the select query dynamically using Hive Metastore for that table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311942#M82939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T20:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop to Oracle with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311943#M82940</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Here is a new feature jira issue about "Support Hive Metastore HA".&lt;/P&gt; 
&lt;P&gt;&lt;A title="https://jira.talendforge.org/browse/TBD-4059" href="https://jira.talendforge.org/browse/TBD-4059" target="_self" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TBD-4059&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 08:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hadoop-to-Oracle-with-Dynamic-schema/m-p/2311943#M82940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-22T08:31:13Z</dc:date>
    </item>
  </channel>
</rss>

