<?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 Incorta SQL , SQLi, Decimal data types, and UNIONing data in Administrative Discussions</title>
    <link>https://community.incorta.com/t5/administrative-discussions/incorta-sql-sqli-decimal-data-types-and-unioning-data/m-p/4446#M151</link>
    <description>&lt;P&gt;I've got this table - it's huge, not by data volume standards ( ~ 45 million records and growing w/ projected exponential growth ), but by load-time standards ( ~ 25 hours to do a full load ).&lt;/P&gt;&lt;P&gt;I need a way to speed this up.&amp;nbsp; &amp;nbsp; ( I'm already doing incremental loads but situations arise where a full load is needed )&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;*** I have no influence over the source DB whatsoever, so "tune the view," while good advice, is not something I can do -- non starter **&lt;/P&gt;&lt;P&gt;Anyway - the ~ 25 hour load time is when I select * from view.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a test breaking that into 12 tables and adding a where clause to each to bring in a year's worth of data in ~ 2 hours.&amp;nbsp; &amp;nbsp;Huzzah!&lt;/P&gt;&lt;P&gt;So I can create a derived table to UNION those, right?&amp;nbsp; &amp;nbsp;&amp;lt;BZZZZZTTTTT&amp;gt;&amp;nbsp; &amp;nbsp; Incorta SQL doesn't like the DECIMAL data type.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;PRE&gt;Decimal type is expected for select item: Txxxxxxxx

Currently decimal type is not supported!
Not supported query&lt;/PRE&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;OK - so the very quick engine isn't available, but surely a SQLi table will work ...&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;lt;TABLE&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;-&amp;nbsp;INC_03010100: Unknown Error: Extraction failed [com.incorta.connector.errors.DiscoveryException: Error of type PSQLException while discovering columns from datasource [SQLInterface] due to: ERROR: Decimal type is expected for select item:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;So I'm learning that combining two Incorta tables, created by Incorta, with the Incorta assigned data types isn't as straightforward as one might expect.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'm out for the evening, but if anyone has any experience w/ this type of exercise&amp;nbsp;and&amp;nbsp; can point me in the right direction I'm happy to learn!&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 08 Jun 2023 23:48:32 GMT</pubDate>
    <dc:creator>RADSr</dc:creator>
    <dc:date>2023-06-08T23:48:32Z</dc:date>
    <item>
      <title>Incorta SQL , SQLi, Decimal data types, and UNIONing data</title>
      <link>https://community.incorta.com/t5/administrative-discussions/incorta-sql-sqli-decimal-data-types-and-unioning-data/m-p/4446#M151</link>
      <description>&lt;P&gt;I've got this table - it's huge, not by data volume standards ( ~ 45 million records and growing w/ projected exponential growth ), but by load-time standards ( ~ 25 hours to do a full load ).&lt;/P&gt;&lt;P&gt;I need a way to speed this up.&amp;nbsp; &amp;nbsp; ( I'm already doing incremental loads but situations arise where a full load is needed )&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;*** I have no influence over the source DB whatsoever, so "tune the view," while good advice, is not something I can do -- non starter **&lt;/P&gt;&lt;P&gt;Anyway - the ~ 25 hour load time is when I select * from view.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a test breaking that into 12 tables and adding a where clause to each to bring in a year's worth of data in ~ 2 hours.&amp;nbsp; &amp;nbsp;Huzzah!&lt;/P&gt;&lt;P&gt;So I can create a derived table to UNION those, right?&amp;nbsp; &amp;nbsp;&amp;lt;BZZZZZTTTTT&amp;gt;&amp;nbsp; &amp;nbsp; Incorta SQL doesn't like the DECIMAL data type.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;PRE&gt;Decimal type is expected for select item: Txxxxxxxx

Currently decimal type is not supported!
Not supported query&lt;/PRE&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;OK - so the very quick engine isn't available, but surely a SQLi table will work ...&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;lt;TABLE&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;-&amp;nbsp;INC_03010100: Unknown Error: Extraction failed [com.incorta.connector.errors.DiscoveryException: Error of type PSQLException while discovering columns from datasource [SQLInterface] due to: ERROR: Decimal type is expected for select item:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;So I'm learning that combining two Incorta tables, created by Incorta, with the Incorta assigned data types isn't as straightforward as one might expect.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'm out for the evening, but if anyone has any experience w/ this type of exercise&amp;nbsp;and&amp;nbsp; can point me in the right direction I'm happy to learn!&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jun 2023 23:48:32 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/incorta-sql-sqli-decimal-data-types-and-unioning-data/m-p/4446#M151</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-06-08T23:48:32Z</dc:date>
    </item>
  </channel>
</rss>

