Not expected "SWIG VM engine is not initialized" exception.

Details

Detail name Value
Changelog Number 4741
Type Bug
Status Resolved
Affected Versions EXASOL 6.0.1
Fix Versions EXASOL 6.0.4
Resolution Date 2017-09-05

SWIG - Simplified Wrapper and Interface Generator. It is a software that is used to connect C or C++ with another languages (Python, Java,... ).

SWIG VM is implemtation in EXASolution that uses SWIG to integrate Scripts written in Python and Java

If such script is used in WHERE clause of UPDATE statement and FROM clause contains joined table, following exception: "SWIG VM engine is not initialized" is thrown in some cases.

Prerequsities for this behaviour is, that script operates on the column from the table, which is NOT first one in the join queue. In all other cases it works how expected, thus without exception.

Join queue is determined by optimizer and it is highly data dependent. From this point of view, workaround is not easy. It needs user interaction, and modification of statement is necessary.

If you experience this issue please address support.