ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grimstad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9771) Indirect SQL queries are failing
Date Tue, 02 Oct 2018 12:04:00 GMT
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

View raw message