<?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 Incorrect SQL time retrieved in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-SQL-time-retrieved/m-p/2356519#M122023</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 am facing a weird issue, but i have no idea what should i check to fix the problem.&lt;/P&gt;&lt;P&gt;I am using Talend job to execute the store procedure in Redshift together with a parameter getdate(), &lt;/P&gt;&lt;P&gt;But the result comes out is not in the Redshift timezone, it is GMT+0 instead.&lt;/P&gt;&lt;P&gt;I notice that difference when i run the select getdate() in redshift directly, in my case is GMT+8.&lt;/P&gt;&lt;P&gt;My question here is how come the result from talend and redshift can be different?&lt;/P&gt;&lt;P&gt;It looks fine to me, no code or advance setting that purposely change the timezone, is there anything else i can check to solve this problem?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:29:46 GMT</pubDate>
    <dc:creator>WWong1683187644</dc:creator>
    <dc:date>2024-11-15T21:29:46Z</dc:date>
    <item>
      <title>Incorrect SQL time retrieved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-SQL-time-retrieved/m-p/2356519#M122023</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 am facing a weird issue, but i have no idea what should i check to fix the problem.&lt;/P&gt;&lt;P&gt;I am using Talend job to execute the store procedure in Redshift together with a parameter getdate(), &lt;/P&gt;&lt;P&gt;But the result comes out is not in the Redshift timezone, it is GMT+0 instead.&lt;/P&gt;&lt;P&gt;I notice that difference when i run the select getdate() in redshift directly, in my case is GMT+8.&lt;/P&gt;&lt;P&gt;My question here is how come the result from talend and redshift can be different?&lt;/P&gt;&lt;P&gt;It looks fine to me, no code or advance setting that purposely change the timezone, is there anything else i can check to solve this problem?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-SQL-time-retrieved/m-p/2356519#M122023</guid>
      <dc:creator>WWong1683187644</dc:creator>
      <dc:date>2024-11-15T21:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect SQL time retrieved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-SQL-time-retrieved/m-p/2356520#M122024</link>
      <description>&lt;P&gt;I found the root cause already, it is depending on the driver version of the redshift connection component.&lt;/P&gt;&lt;P&gt;V1 will give the datetime in GMT+0,&lt;/P&gt;&lt;P&gt;V2 will give the datetime in the server timezone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also find this info online for your reference: &lt;/P&gt;&lt;P&gt;https://repost.aws/questions/QUzxhtdeEJSqKlrnHMilbIew/redshift-jdbc-driver-getdate-returns-time-in-server-time-zone-instead-of-in-utcd&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 09:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-SQL-time-retrieved/m-p/2356520#M122024</guid>
      <dc:creator>WWong1683187644</dc:creator>
      <dc:date>2023-08-11T09:49:01Z</dc:date>
    </item>
  </channel>
</rss>

