<?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: Dates are all NULL in Hive Table. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dates-are-all-NULL-in-Hive-Table/m-p/2283863#M57683</link>
    <description>Hi,
&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;Can you upload again the screenshots you wanted to show, please? For some reason it didn't make it to your post.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 23 Feb 2016 06:44:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-23T06:44:31Z</dc:date>
    <item>
      <title>Dates are all NULL in Hive Table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dates-are-all-NULL-in-Hive-Table/m-p/2283862#M57682</link>
      <description>Hi.&amp;nbsp; I am new to Talend and learning / evaluating with the Open Studio.&amp;nbsp; I have a single node Hortonworks cluster (not the sandbox, actual cluster) and running Talend to try to implement a real use cases that I have.&amp;nbsp; All I am trying to do is read a table from MS Sql Server and write most of the columns to a Hive ORC table. 
&lt;BR /&gt;Based on my research, I found this to be a multi-step process: 
&lt;BR /&gt;1. Read the MS DB. 
&lt;BR /&gt;2. Write a text file to HDFS 
&lt;BR /&gt;3. Load the text file to a Hive text table. 
&lt;BR /&gt;4. Copy the Hive text file to an ORC table. 
&lt;BR /&gt;I have set up my Talend job to do those things. 
&lt;BR /&gt;After step 2, my text file contains exactly what I need.&amp;nbsp; I am using a semicolon delimited file and all of my data is there. 
&lt;BR /&gt;However, when I use the tHiveLoad component to load the text file into Hive, ALL of my date columns are now NULL. 
&lt;BR /&gt;I researched this online and found that according to this site (), Hive won't automatically convert between Date and Timestamp. 
&lt;BR /&gt;However, when I try to create my schema, 
&lt;U&gt;&lt;I&gt;the only option I have is Timestamp&lt;/I&gt;&lt;/U&gt;.&amp;nbsp; I am using the DB mapping of Hive for my Schema. The Hive date type is not there (see screen shot attached).&amp;nbsp; So, how do I get my dates into my Hive text table? 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks! 
&lt;BR /&gt;Tom</description>
      <pubDate>Sat, 16 Nov 2024 10:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dates-are-all-NULL-in-Hive-Table/m-p/2283862#M57682</guid>
      <dc:creator>thomas_ciampagl</dc:creator>
      <dc:date>2024-11-16T10:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dates are all NULL in Hive Table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dates-are-all-NULL-in-Hive-Table/m-p/2283863#M57683</link>
      <description>Hi,
&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;Can you upload again the screenshots you wanted to show, please? For some reason it didn't make it to your post.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 23 Feb 2016 06:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dates-are-all-NULL-in-Hive-Table/m-p/2283863#M57683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T06:44:31Z</dc:date>
    </item>
  </channel>
</rss>

