<?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 Snowflake query with time travel not working from Databricks while reading into Dataframe. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4562#M1245</link>
    <description>&lt;P&gt;I am trying to read the changes data from snowflake query into the dataframe using Databricks.&lt;/P&gt;&lt;P&gt;Same query is working in snowflake but not in Databricks. Both sides timezones and format are same for the timestamp. I am trying to implement changetracking feature from below query. No problem in snowflake but in databricks issue is coming.&lt;/P&gt;&lt;P&gt;Below is my query and error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM TestTable CHANGES(INFORMATION =&amp;gt; DEFAULT) AT(TIMESTAMP =&amp;gt; '2023-05-03 00:43:34.885 -7000')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: &lt;/P&gt;&lt;P&gt;Time travel data is not available for table TestTable. The requested time is either beyond the allowed time travel period or before the object creation time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 07:07:04 GMT</pubDate>
    <dc:creator>Skv</dc:creator>
    <dc:date>2023-05-11T07:07:04Z</dc:date>
    <item>
      <title>Snowflake query with time travel not working from Databricks while reading into Dataframe.</title>
      <link>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4562#M1245</link>
      <description>&lt;P&gt;I am trying to read the changes data from snowflake query into the dataframe using Databricks.&lt;/P&gt;&lt;P&gt;Same query is working in snowflake but not in Databricks. Both sides timezones and format are same for the timestamp. I am trying to implement changetracking feature from below query. No problem in snowflake but in databricks issue is coming.&lt;/P&gt;&lt;P&gt;Below is my query and error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM TestTable CHANGES(INFORMATION =&amp;gt; DEFAULT) AT(TIMESTAMP =&amp;gt; '2023-05-03 00:43:34.885 -7000')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: &lt;/P&gt;&lt;P&gt;Time travel data is not available for table TestTable. The requested time is either beyond the allowed time travel period or before the object creation time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 07:07:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4562#M1245</guid>
      <dc:creator>Skv</dc:creator>
      <dc:date>2023-05-11T07:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake query with time travel not working from Databricks while reading into Dataframe.</title>
      <link>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4563#M1246</link>
      <description>&lt;P&gt;@SkvAdi v​&amp;nbsp;based on error it looks time provided seems to in correct, provided time stamp might be before object created date time. can you please check when table created and provide and test&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 17:33:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4563#M1246</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-05-12T17:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake query with time travel not working from Databricks while reading into Dataframe.</title>
      <link>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4564#M1247</link>
      <description>&lt;P&gt;you are format is wrong that's why you got an error&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM TestTable CHANGES(INFORMATION =&amp;gt; DEFAULT) &lt;/P&gt;&lt;P&gt;AT(TIMESTAMP =&amp;gt; TO_TIMESTAMP_TZ('2023-05-03 00:43:34.885','YYYY-MM-DD HH24:MI:SS.FF'))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 15:18:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/snowflake-query-with-time-travel-not-working-from-databricks/m-p/4564#M1247</guid>
      <dc:creator>sher</dc:creator>
      <dc:date>2023-06-23T15:18:29Z</dc:date>
    </item>
  </channel>
</rss>

