<?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: Assertion failed: Cannot build parallel hash join in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/assertion-failed-cannot-build-parallel-hash-join/qaa-p/13831245#M4862088</link>
    <description>&lt;P&gt;You have hit a bug that has already been fixed by QTS &lt;A href="http://search.sybase.com/kbx/changerequests?bug_id=645001" rel="nofollow"&gt;645001&lt;/A&gt; (on 2010 Oct 22) - the fix &lt;STRIKE&gt;is&lt;/STRIKE&gt; will be available in 12.0.0 build 1299 (or higher).&lt;/P&gt;

&lt;P&gt;Here is the description of the fix:&lt;/P&gt;

&lt;P&gt;If parallel access plans are considered by the SQL Anywhere Optimizer  ( see, for example in the &lt;A href="http://dcx-internal.sybase.com/index.html#1200en/dbusage/queryopt-s-4716396.html" rel="nofollow"&gt;docs&lt;/A&gt;, &lt;/P&gt;&lt;PRE&gt;  SQL Anywhere Server - SQL Usage
  » Query optimization and execution
  » Query execution algorithms
  » Parallelism during query execution
  » Parallelism in queries
&lt;/PRE&gt; ) then it was possible for queries to fail with a "Cannot build parallel ..." assertion. &lt;P&gt;&lt;/P&gt;

&lt;P&gt;This has been fixed.&lt;/P&gt;

&lt;P&gt;Examples of assertions returned before this change:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;105804: "Cannot build parallel scan"&lt;/LI&gt;
&lt;LI&gt;105805: "Cannot build parallel index scan" &lt;/LI&gt;
&lt;LI&gt;105816: "Cannot build parallel sort"&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Sun, 07 Nov 2010 20:25:29 GMT</pubDate>
    <dc:creator>MarkCulp</dc:creator>
    <dc:date>2010-11-07T20:25:29Z</dc:date>
    <item>
      <title>Assertion failed: Cannot build parallel hash join</title>
      <link>https://community.sap.com/t5/technology-q-a/assertion-failed-cannot-build-parallel-hash-join/qaq-p/13831244</link>
      <description>&lt;P&gt;Any idea on this error? &lt;/P&gt;

&lt;P&gt;Select Error: SQLSTATE = S1000
[Sybase][ODBC Driver][SQL Anywhere]Laufzeit-SQL-Fehler - &lt;STRONG&gt;* FEHLER *&lt;/STRONG&gt; Assertierung fehlgeschlagen: 105810 (12.0.0.2589)
Cannot build parallel hash join&lt;/P&gt;

&lt;P&gt;It's a Statement that used to run fine under SQLAnywhere 11. Now I'm using 12.0.0.2589, and this error has been there since the very first release of SQLAynwhere 12.&lt;/P&gt;

&lt;P&gt;it might have something to do with the FORCE INDEX I am using, because when I omit this, the statement runs fine.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Henning&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2010 18:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assertion-failed-cannot-build-parallel-hash-join/qaq-p/13831244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-07T18:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Assertion failed: Cannot build parallel hash join</title>
      <link>https://community.sap.com/t5/technology-q-a/assertion-failed-cannot-build-parallel-hash-join/qaa-p/13831245#M4862088</link>
      <description>&lt;P&gt;You have hit a bug that has already been fixed by QTS &lt;A href="http://search.sybase.com/kbx/changerequests?bug_id=645001" rel="nofollow"&gt;645001&lt;/A&gt; (on 2010 Oct 22) - the fix &lt;STRIKE&gt;is&lt;/STRIKE&gt; will be available in 12.0.0 build 1299 (or higher).&lt;/P&gt;

&lt;P&gt;Here is the description of the fix:&lt;/P&gt;

&lt;P&gt;If parallel access plans are considered by the SQL Anywhere Optimizer  ( see, for example in the &lt;A href="http://dcx-internal.sybase.com/index.html#1200en/dbusage/queryopt-s-4716396.html" rel="nofollow"&gt;docs&lt;/A&gt;, &lt;/P&gt;&lt;PRE&gt;  SQL Anywhere Server - SQL Usage
  » Query optimization and execution
  » Query execution algorithms
  » Parallelism during query execution
  » Parallelism in queries
&lt;/PRE&gt; ) then it was possible for queries to fail with a "Cannot build parallel ..." assertion. &lt;P&gt;&lt;/P&gt;

&lt;P&gt;This has been fixed.&lt;/P&gt;

&lt;P&gt;Examples of assertions returned before this change:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;105804: "Cannot build parallel scan"&lt;/LI&gt;
&lt;LI&gt;105805: "Cannot build parallel index scan" &lt;/LI&gt;
&lt;LI&gt;105816: "Cannot build parallel sort"&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 07 Nov 2010 20:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assertion-failed-cannot-build-parallel-hash-join/qaa-p/13831245#M4862088</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2010-11-07T20:25:29Z</dc:date>
    </item>
  </channel>
</rss>

