You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Grimstad (JIRA)" <ji...@apache.org> on 2018/10/02 12:04:00 UTC

[jira] [Created] (IGNITE-9771) Indirect SQL queries are failing

Sergey Grimstad created IGNITE-9771:
---------------------------------------

             Summary: Indirect SQL queries are failing
                 Key: IGNITE-9771
                 URL: https://issues.apache.org/jira/browse/IGNITE-9771
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.7
            Reporter: Sergey Grimstad
            Assignee: Sergey Grimstad
             Fix For: 2.8


Attempt to sql query (not sql fields query ) another cache's type leads to exception:

Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type: ...

IgniteH2Indexing#queryDistributedSql in the beginning of the method logic there is check of schemaName, cacheName and type. First two parameters passed belong to called cache while third belongs to target cache. This combination leads to the exception mentioned.
 # Create tests to reproduce the situation
 # Fix problem
 # Enable commented out tests with 'todo' and this ticket number reference



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