<?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: Date and Timestamp issue with dynamic datatype in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377754#M139565</link>
    <description>&lt;P&gt;Hi Rhall,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input is Oracle. Output is generated in delimited file through the job&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jan 2022 11:15:38 GMT</pubDate>
    <dc:creator>Gunner49</dc:creator>
    <dc:date>2022-01-27T11:15:38Z</dc:date>
    <item>
      <title>Date and Timestamp issue with dynamic datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377752#M139563</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to highlight an issue while using the dynamic datatype. &lt;/P&gt;&lt;P&gt;While using the dynamic datatype , we can specify the date pattern ,  but there seems to be an issue while handling both date and timestamp formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example , on specifying the date pattern to "yyyy-MM-dd HH:mm:ss" , the columns having only the date (2nd column in the example) also get converted to timestamp.&lt;/P&gt;&lt;P&gt;I want to retain both the date and timestamp formats. I'm currently extracting the contents of the table into a file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a scenario :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Input :&lt;/B&gt;&lt;/P&gt;&lt;P&gt;ID|DT_PAT|TMSTMP_PAT&lt;/P&gt;&lt;P&gt;1|2022-01-25|2022-01-25 23:59:59&lt;/P&gt;&lt;P&gt;2|2022-01-23|2022-01-23 23:59:59&lt;/P&gt;&lt;P&gt;3|2022-01-20|2022-01-20 23:59:59&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;Current output with date pattern (&lt;/U&gt;&lt;/B&gt;&lt;B&gt;&lt;U&gt;"yyyy-MM-dd HH:mm:ss" ) with dynamic datatype :&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;ID|DT_PAT|TMSTMP_PAT&lt;/P&gt;&lt;P&gt;1|2022-01-25 &lt;B&gt;00:00:00&lt;/B&gt;|2022-01-25 23:59:59&lt;/P&gt;&lt;P&gt;2|2022-01-23 &lt;B&gt;00:00:00&lt;/B&gt;|2022-01-23 23:59:59&lt;/P&gt;&lt;P&gt;3|2022-01-20 &lt;B&gt;00:00:00&lt;/B&gt;|2022-01-20 23:59:59&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Expected Output :&lt;/B&gt;&lt;/P&gt;&lt;P&gt;ID|DT_PAT|TMSTMP_PAT&lt;/P&gt;&lt;P&gt;1|2022-01-25|2022-01-25 23:59:59&lt;/P&gt;&lt;P&gt;2|2022-01-23|2022-01-23 23:59:59&lt;/P&gt;&lt;P&gt;3|2022-01-20|2022-01-20 23:59:59&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377752#M139563</guid>
      <dc:creator>Gunner49</dc:creator>
      <dc:date>2024-11-15T23:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Timestamp issue with dynamic datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377753#M139564</link>
      <description>&lt;P&gt;How are you getting the output data? Where is this coming from? Is it your job (via a tLogRow or similar) or is it from a database analyser or file?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 18:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377753#M139564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-25T18:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Timestamp issue with dynamic datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377754#M139565</link>
      <description>&lt;P&gt;Hi Rhall,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input is Oracle. Output is generated in delimited file through the job&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 11:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377754#M139565</guid>
      <dc:creator>Gunner49</dc:creator>
      <dc:date>2022-01-27T11:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Timestamp issue with dynamic datatype</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377755#M139566</link>
      <description>&lt;P&gt;OK, this looks like a formatting issue. The Date class holds full dates down to time. It is essentially holding a number. If you supply a date without a time element, the Date class will still appear to hold a time element as in reality, it is just holding a number. There is nothing wrong here, you just need to set the date format for fields you want to see represented as Strings to "yyyy-MM-dd".&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 14:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-and-Timestamp-issue-with-dynamic-datatype/m-p/2377755#M139566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-27T14:17:44Z</dc:date>
    </item>
  </channel>
</rss>

