cancel
Showing results for 
Search instead for 
Did you mean: 

Assertion failed: Cannot build parallel hash join

Former Member
4,081

Any idea on this error?

Select Error: SQLSTATE = S1000 [Sybase][ODBC Driver][SQL Anywhere]Laufzeit-SQL-Fehler - * FEHLER * Assertierung fehlgeschlagen: 105810 (12.0.0.2589) Cannot build parallel hash join

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.

it might have something to do with the FORCE INDEX I am using, because when I omit this, the statement runs fine.

Regards,

Henning

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkCulp
Participant

You have hit a bug that has already been fixed by QTS 645001 (on 2010 Oct 22) - the fix is will be available in 12.0.0 build 1299 (or higher).

Here is the description of the fix:

If parallel access plans are considered by the SQL Anywhere Optimizer ( see, for example in the docs,

  SQL Anywhere Server - SQL Usage
  » Query optimization and execution
  » Query execution algorithms
  » Parallelism during query execution
  » Parallelism in queries
) then it was possible for queries to fail with a "Cannot build parallel ..." assertion.

This has been fixed.

Examples of assertions returned before this change:

  • 105804: "Cannot build parallel scan"
  • 105805: "Cannot build parallel index scan"
  • 105816: "Cannot build parallel sort"