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/10 08:05:00 UTC

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

    [ https://issues.apache.org/jira/browse/IGNITE-9771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644603#comment-16644603 ] 

Sergey Grimstad commented on IGNITE-9771:
-----------------------------------------

branch from 6677

> 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
>            Priority: Major
>             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)