You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2019/02/14 14:36:00 UTC

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

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

Vladimir Ozerov updated IGNITE-9771:
------------------------------------
    Ignite Flags:   (was: Docs Required)

> 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
>            Priority: Major
>             Fix For: 2.8
>
>         Attachments: sgrimstad_IGNITE_9771_implementation_.patch
>
>
> 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)