<?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: Copy Activity in Data Pipeline TimeZone defaulting to UTC in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4258643#M6076</link>
    <description>&lt;LI-CODE lang="markup"&gt;an on premise oracle db that has a timezone ("America/NewYork") &lt;/LI-CODE&gt;
&lt;P&gt;That is rather unusual.&amp;nbsp; Servers and databases should by default run on UTC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your Select statement can you cast the dates to UTC?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2024 21:58:29 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-10-25T21:58:29Z</dc:date>
    <item>
      <title>Copy Activity in Data Pipeline TimeZone defaulting to UTC</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4258245#M6069</link>
      <description>&lt;DIV class=""&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;i&amp;nbsp; did use the Copy Activity in a Data Pipeline to copy data from an on premise oracle db that has a timezone ("America/NewYork") to a Fabric lakehouse. In the source tab of the Copy Activity i had chosen a query as the Use Query option, where i am running select SQL statements with some cast of number data columns and creating some concatenated tables. What i am seeing after the copy is completed, is that my date columns are having a UTC time zone . How can i fix that?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P class="lia-align-left"&gt;&lt;BR /&gt;Note: I have already updated the OnPremise Gateway to the latest version 3000.242.8 following the post:&lt;A href="http://&amp;nbsp;Solved:%20Fabric pipeline copy activity converts time to UTC - Microsoft Fabric Community," target="_self"&gt; here&lt;/A&gt;&amp;nbsp;however this didn't solve my problem&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 14:20:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4258245#M6069</guid>
      <dc:creator>mkjit256</dc:creator>
      <dc:date>2024-10-25T14:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity in Data Pipeline TimeZone defaulting to UTC</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4258643#M6076</link>
      <description>&lt;LI-CODE lang="markup"&gt;an on premise oracle db that has a timezone ("America/NewYork") &lt;/LI-CODE&gt;
&lt;P&gt;That is rather unusual.&amp;nbsp; Servers and databases should by default run on UTC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your Select statement can you cast the dates to UTC?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 21:58:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4258643#M6076</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-25T21:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity in Data Pipeline TimeZone defaulting to UTC</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4259694#M6088</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368866" data-lia-user-login="mkjit256" class="lia-mention lia-mention-user"&gt;mkjit256&lt;/a&gt;&amp;nbsp;-&amp;nbsp; Is the data coming out of the server as datetime + TZ or just as a datetime?&amp;nbsp;&amp;nbsp;Is the time component actually getting changed or is the TZ Offset just getting added to the end of the datetime?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is just coming out as a datetime, can you convert it to the datetime + timezone in the soure query coming out of Oracle?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on the answers above, one thing you can do is just write the TZ conversion in the source/destination mapping of the Copy data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 02:23:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4259694#M6088</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2024-10-28T02:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity in Data Pipeline TimeZone defaulting to UTC</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4260688#M6109</link>
      <description>&lt;P&gt;Thanks for your reply, am i getting the timezone wrong? i had got the America/NewYork fro running&amp;nbsp;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; SESSIONTIMEZONE &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; DUAL. I am also getting a value of -04:00 When running:&amp;nbsp;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; DBTIMEZONE &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; DUAL;&lt;/P&gt;&lt;P&gt;Both commands are run from SQL oracle developer app.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The values that i am seeing in SQL oracle developer app are:&lt;BR /&gt;2024-Apr-09 9:17:32 AM&lt;/P&gt;&lt;P&gt;however in the lakehouse table what i am seeing is:&lt;/P&gt;&lt;P&gt;2024-04-09 13:17:32.000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is clear that the time in the lakehouse is 4 hours after the time in DB, which aligns with the -04:00 (America/New_York) answer i am getting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my select statement that i am running to copy the table from source (oracle Db) to destination (lakehouse) is not casting dates to utc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 14:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4260688#M6109</guid>
      <dc:creator>mkjit256</dc:creator>
      <dc:date>2024-10-28T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity in Data Pipeline TimeZone defaulting to UTC</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4260692#M6110</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="599628" data-lia-user-login="jwinchell40" class="lia-mention lia-mention-user"&gt;jwinchell40&lt;/a&gt;&amp;nbsp;. the datetime in the source (oracle database) has no +TZ, it is under the format of:&amp;nbsp;&lt;SPAN&gt;2024-Apr-09 9:17:32 AM.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;What i am seeing is that the time component is getting changed. The datetime i am seeing in the lakehouse is:&amp;nbsp;&lt;SPAN&gt;2024-04-09 13:17:32.000000.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If it is just coming out as a datetime, can you convert it to the datetime + timezone in the soure query coming out of Oracle?&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Can you explain more on how to do that. Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 14:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4260692#M6110</guid>
      <dc:creator>mkjit256</dc:creator>
      <dc:date>2024-10-28T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity in Data Pipeline TimeZone defaulting to UTC</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4267330#M6179</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368866" data-lia-user-login="mkjit256" class="lia-mention lia-mention-user"&gt;mkjit256&lt;/a&gt;&amp;nbsp;- Sorry for the delay.&amp;nbsp; Let me see if I can find the Oracle equivalent of:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT &amp;lt;date&amp;gt; AT TIMEZONE 'EASTERN STANDARD TIME' AT TIMEZONE 'UTC' AT TIMEZONE 'EASTERN STANDARD TIME'&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't recall if I can go straight to EST when adding the TZ for the first time or if I have to Cast/Recast it accordingly.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 18:54:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-in-Data-Pipeline-TimeZone-defaulting-to-UTC/m-p/4267330#M6179</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2024-11-01T18:54:09Z</dc:date>
    </item>
  </channel>
</rss>

