<?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 Incremental Load query in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6692#M578</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello Community,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We have a schema that is currently scheduled with a full load, and I would like to switch to incremental load for specific tables.&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;These tables have a timestamp column (for example: creation_date) that should be used for incremental load.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The source database is &lt;STRONG&gt;PostgreSQL&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I need guidance or documentation on:&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;How to correctly edit the Query and Update Query for incremental load.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;How to choose the right parameters such as Incremental Type and Incremental Extract Using.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;What I tried:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Following the Incorta course I have taken, I added a where&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial, helvetica, sans-serif"&gt;condition in the query like:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;WHERE "CREATION_DATE" &amp;gt; ?&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But when I run discovery, I get this error:&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Failed discovery. Cannot retrieve sample data from [schema_name] due to [No value specified for parameter 1.]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;so I tried:&lt;BR /&gt;WHERE "CREATION_DATE" &amp;gt;=&amp;nbsp;:last_incremental_value&lt;BR /&gt;which also returned an error: Failed discovery. Cannot retrieve sample data from [schema_name] due to [ERROR: syntax at or near ":"]&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Could you please share the correct approach, or point me to guides/docs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Sep 2025 14:22:09 GMT</pubDate>
    <dc:creator>mohamed_kamal</dc:creator>
    <dc:date>2025-09-14T14:22:09Z</dc:date>
    <item>
      <title>Incremental Load query</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6692#M578</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello Community,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We have a schema that is currently scheduled with a full load, and I would like to switch to incremental load for specific tables.&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;These tables have a timestamp column (for example: creation_date) that should be used for incremental load.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The source database is &lt;STRONG&gt;PostgreSQL&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I need guidance or documentation on:&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;How to correctly edit the Query and Update Query for incremental load.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;How to choose the right parameters such as Incremental Type and Incremental Extract Using.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;What I tried:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Following the Incorta course I have taken, I added a where&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial, helvetica, sans-serif"&gt;condition in the query like:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;WHERE "CREATION_DATE" &amp;gt; ?&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But when I run discovery, I get this error:&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Failed discovery. Cannot retrieve sample data from [schema_name] due to [No value specified for parameter 1.]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;so I tried:&lt;BR /&gt;WHERE "CREATION_DATE" &amp;gt;=&amp;nbsp;:last_incremental_value&lt;BR /&gt;which also returned an error: Failed discovery. Cannot retrieve sample data from [schema_name] due to [ERROR: syntax at or near ":"]&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Could you please share the correct approach, or point me to guides/docs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 14:22:09 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6692#M578</guid>
      <dc:creator>mohamed_kamal</dc:creator>
      <dc:date>2025-09-14T14:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load query</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6801#M589</link>
      <description>&lt;P&gt;I'm seeing a similar issue for the NetSuite. when we enable incrimental load for a table we should get the following options&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enmaiya_0-1763944766968.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2980i8F6F76605A4F831B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="enmaiya_0-1763944766968.png" alt="enmaiya_0-1763944766968.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For some reason, I did not have this option for NetSuite, and when I use '?' in the where condition, it errors out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 00:42:58 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6801#M589</guid>
      <dc:creator>enmaiya</dc:creator>
      <dc:date>2025-11-24T00:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load query</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6810#M590</link>
      <description>&lt;P&gt;You can try the following:&lt;BR /&gt;FROM "transactionline" where&amp;nbsp; lineLastModifiedDate &amp;gt; TO_TIMESTAMP(?, 'YYYY-MM-DD HH24:MI:SS.FF')&lt;BR /&gt;&lt;BR /&gt;Another example to pull data that changed last 12 months for testing:&lt;BR /&gt;FROM "transactionline"&amp;nbsp; where lineLastModifiedDate &amp;gt; ADD_MONTHS(TO_TIMESTAMP(?, 'YYYY-MM-DD HH24:MI:SS.FF'),-12)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 18:30:01 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/incremental-load-query/m-p/6810#M590</guid>
      <dc:creator>flawrence</dc:creator>
      <dc:date>2025-11-26T18:30:01Z</dc:date>
    </item>
  </channel>
</rss>

