<?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: SQLi ( via Postgres data connection ) UNION supported? in Administrative Discussions</title>
    <link>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5199#M239</link>
    <description>&lt;P&gt;UNION is supported in SQLi via Spark fallback.&amp;nbsp; In the other word, if Spark cluster is deployed and the Spark SQL App is running, Incorta will try&amp;nbsp; to use the Spark engine to handle UNION, which is not handled directly by the Incorta analytics engine.&lt;/P&gt;
&lt;P&gt;The error shown in your message indicates "&lt;SPAN&gt;Error while fallback to Spark".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We don't have the details and thus don't know why this happened.&amp;nbsp; You may want to check your configuration first.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-10-24 at 5.51.23 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2479iCF9696FA27BC9E31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-10-24 at 5.51.23 AM.png" alt="Screen Shot 2023-10-24 at 5.51.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 12:53:02 GMT</pubDate>
    <dc:creator>dylanwan</dc:creator>
    <dc:date>2023-10-24T12:53:02Z</dc:date>
    <item>
      <title>SQLi ( via Postgres data connection ) UNION supported?</title>
      <link>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5119#M223</link>
      <description>&lt;P&gt;Setup: I need to union two Incorta tables.&amp;nbsp; &amp;nbsp;I also need to add formula columns so not an Incorta SQL derived table.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;This *has* to be done in Incorta because half of the UNION is an Incorta snapshot table the contents of which do not persist in the DB.&amp;nbsp; &amp;nbsp;The second half comes from the DB, but it's quicker to query it once and then not hit the DB again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a UNION query broken down to its simplest form:&lt;/P&gt;&lt;P&gt;select &amp;lt;column&amp;gt; from schema.table&lt;/P&gt;&lt;P&gt;UNION&lt;/P&gt;&lt;P&gt;select &amp;lt;column&amp;gt; from otherschema.othertable&lt;/P&gt;&lt;P&gt;Both parts work independently, column and othercolumn are both timestamps, and the result is:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;SQL Error [P0001]: ERROR: Not a single engine compatible query Not supported query[ Unsupported Operation Exception: Not a single engine compatible query Not supported query].&lt;BR /&gt;Not a single engine compatible query Not supported query.&lt;BR /&gt;Error while fallback to Spark.&lt;BR /&gt;SQL Exception.&lt;BR /&gt;nothing to resolve&lt;/P&gt;&lt;P&gt;&amp;lt; more &amp;gt;&lt;/P&gt;&lt;P&gt;================&lt;/P&gt;&lt;P&gt;Is UNION supported?&amp;nbsp; &amp;nbsp; What else should I be looking at?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 15:39:42 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5119#M223</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-10-10T15:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQLi ( via Postgres data connection ) UNION supported?</title>
      <link>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5150#M228</link>
      <description>&lt;P&gt;Yes, Union is supported.&lt;/P&gt;&lt;P&gt;I am assuming both the tables are in Incorta and you are using incorta over incorta SQLi to run this query?&lt;/P&gt;&lt;P&gt;Can you try this query using MV - Spark SQL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 13:44:06 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5150#M228</guid>
      <dc:creator>anurag</dc:creator>
      <dc:date>2023-10-13T13:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQLi ( via Postgres data connection ) UNION supported?</title>
      <link>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5152#M229</link>
      <description>&lt;P&gt;I was trying to use SQLi but I gave up on it.&amp;nbsp; &amp;nbsp;It does work via the notebook in an MV with Spark which lead to the separate post asking for guidelines about property settings - the MV didn't work until I set these:&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RADSr_0-1697205067358.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2465iE6ADBB5491BFD410/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RADSr_0-1697205067358.png" alt="RADSr_0-1697205067358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.incorta.com/t5/administrative-discussions/guidelines-for-spark-property-settings/td-p/5121" target="_blank"&gt;https://community.incorta.com/t5/administrative-discussions/guidelines-for-spark-property-settings/td-p/5121&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 13:51:53 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5152#M229</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-10-13T13:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: SQLi ( via Postgres data connection ) UNION supported?</title>
      <link>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5199#M239</link>
      <description>&lt;P&gt;UNION is supported in SQLi via Spark fallback.&amp;nbsp; In the other word, if Spark cluster is deployed and the Spark SQL App is running, Incorta will try&amp;nbsp; to use the Spark engine to handle UNION, which is not handled directly by the Incorta analytics engine.&lt;/P&gt;
&lt;P&gt;The error shown in your message indicates "&lt;SPAN&gt;Error while fallback to Spark".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We don't have the details and thus don't know why this happened.&amp;nbsp; You may want to check your configuration first.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-10-24 at 5.51.23 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2479iCF9696FA27BC9E31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-10-24 at 5.51.23 AM.png" alt="Screen Shot 2023-10-24 at 5.51.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 12:53:02 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/sqli-via-postgres-data-connection-union-supported/m-p/5199#M239</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2023-10-24T12:53:02Z</dc:date>
    </item>
  </channel>
</rss>

