S02007

Error Code

S02007

Error Message

Direct access using column names is not supported to retrieve data from an MVCC table. Please use a SQL query instead. RefId:S02007

Probable Causes

MVCC tables employ concurrency control to enable secure and concurrent read and write. Therefore, direct access to MVCC tables using member variable is not allowed. This error occurs when attempting to access an MVCC table using column names.

For example:

id = `XOM`GS`AAPL
x = 102.1 33.4 73.6
t = mvccTable(id, x);

t.id

Solutions

Use a complete SQL statement to query an MVCC table.

t.id
==> select id from t