GitHub user pavel-kuznetsov opened a pull request:
https://github.com/apache/ignite/pull/4976 IGNITE-9557: Assert in case of explains of updates operations.
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/gridgain/apache-ignite ignite-9557
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4976.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4976
----
commit c58911894be0581b799cc7012005d8930d49de06
Author: Pavel Kuznetsov <palmihal@...>
Date: 2018-10-11T12:13:49Z
ignite-9557: tests for EXPLAIN update queries.
commit 74d30f9241ddc3a424a3fd589c8c32bf1d2448cb
Author: Pavel Kuznetsov <palmihal@...>
Date: 2018-10-12T14:25:01Z
ignite-9557: Throw exception on EXPLAIN of update query.
Added assertion that query is not a EXPLAIN of update operation: INSERT, UPDATE, DELETE or MERGE. In this case we throw IgniteSqlException with code of unsupported operation.
----
---