<?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>question Re: Retrieving Impala data using SQL, only data records since last poll using the Date/Timestamp in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/361820#M238662</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102989"&gt;@StuartM&lt;/a&gt;&amp;nbsp;, I know it's not a direct answer, but this requirement sounds more like a good call for Kafka - which inherently supports the idea of "consumer offsets".&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 16:20:38 GMT</pubDate>
    <dc:creator>mszurap</dc:creator>
    <dc:date>2023-01-19T16:20:38Z</dc:date>
    <item>
      <title>Retrieving Impala data using SQL, only data records since last poll using the Date/Timestamp</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/361638#M238643</link>
      <description>&lt;P&gt;I want to poll an Impala table using SQL queries and only want to retrieve data records added since I last polled. This would be using a Date/Timestamp column in the table. Does anyone know how to achieve this?&lt;/P&gt;&lt;P&gt;I am happy to hold the last Date/Timestamp retrieved, in my source system&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 10:56:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/361638#M238643</guid>
      <dc:creator>StuartM</dc:creator>
      <dc:date>2023-01-18T10:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Impala data using SQL, only data records since last poll using the Date/Timestamp</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/361820#M238662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102989"&gt;@StuartM&lt;/a&gt;&amp;nbsp;, I know it's not a direct answer, but this requirement sounds more like a good call for Kafka - which inherently supports the idea of "consumer offsets".&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 16:20:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/361820#M238662</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2023-01-19T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Impala data using SQL, only data records since last poll using the Date/Timestamp</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/362903#M238861</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102989"&gt;@StuartM&lt;/a&gt;,&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 08:08:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/362903#M238861</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-02-02T08:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Impala data using SQL, only data records since last poll using the Date/Timestamp</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/387357#M246299</link>
      <description>&lt;P&gt;To retrieve data records after&amp;nbsp;&lt;A href="https://www.globaldatabase.com/data-enrichment" target="_self"&gt;&lt;SPAN&gt;crm enrichment&lt;/SPAN&gt;&lt;/A&gt; added since the last time you polled an Impala table using a Date/Timestamp column, you can use a SQL query with a WHERE clause filtering for records with timestamps greater than the last timestamp you retrieved. Here's a basic example assuming your timestamp column is named timestamp_column:&lt;/P&gt;&lt;P&gt;SELECT *&lt;BR /&gt;FROM your_table&lt;BR /&gt;WHERE timestamp_column &amp;gt; 'last_poll_timestamp';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace 'last_poll_timestamp' with the actual timestamp value you stored from your last poll. Make sure the timestamp format matches the format stored in your table.&lt;/P&gt;&lt;P&gt;Here's a step-by-step guide:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Store the timestamp of the last poll in your source system.&lt;/LI&gt;&lt;LI&gt;Use this timestamp to construct your SQL query, ensuring you're retrieving records with timestamps greater than the last poll timestamp.&lt;/LI&gt;&lt;LI&gt;Execute the SQL query against your Impala table to retrieve the new records.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 29 Apr 2024 18:51:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Retrieving-Impala-data-using-SQL-only-data-records-since/m-p/387357#M246299</guid>
      <dc:creator>FlorianHaas</dc:creator>
      <dc:date>2024-04-29T18:51:49Z</dc:date>
    </item>
  </channel>
</rss>

