Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9771

Indirect SQL queries are failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.7
    • 2.8
    • sql
    • None

    Description

      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.

      1. Create tests to reproduce the situation
      2. Fix problem
      3. Enable commented out tests with 'todo' and this ticket number reference

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              SGrimstad Sergey Grimstad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: