You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Konstantinov (JIRA)" <ji...@apache.org> on 2018/08/06 03:57:00 UTC

[jira] [Closed] (IGNITE-7255) SQL: Failed to execute explain via new "non-caches" API

     [ https://issues.apache.org/jira/browse/IGNITE-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Konstantinov closed IGNITE-7255.
--------------------------------------
    Assignee: Alexey Kuznetsov  (was: Pavel Konstantinov)

> SQL: Failed to execute explain via new "non-caches" API
> -------------------------------------------------------
>
>                 Key: IGNITE-7255
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7255
>             Project: Ignite
>          Issue Type: Bug
>          Components: wizards
>            Reporter: Alexey Kuznetsov
>            Assignee: Alexey Kuznetsov
>            Priority: Major
>             Fix For: 2.7
>
>
> I'm executing code via querySqlFieldsNoCache API:
> {code:java}
>  qryCursor = ignite.context().query().querySqlFieldsNoCache(qry, true);
> {code}
> And got exception:
> {noformat}
> [CacheException] class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to parse query: EXPLAIN select count(*) from Person
>    [IgniteSQLException] Failed to parse query: EXPLAIN select count(*) from Person
>    [JdbcSQLException] Table "PERSON" not found; SQL statement: EXPLAIN select count(*) from Person [42102-195]
> {noformat}
> Second way to reproduce is execution of Explain in Web console when *{color:#393939}Use selected cache as default schema name{color}* checkbox is disabled.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)