[
https://issues.apache.org/jira/browse/IGNITE-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169936#comment-15169936
]
Valentin Kulichenko commented on IGNITE-2455:
---------------------------------------------
Made the simple fix: catch exception and try to create all client caches that
are currently missing.
Running TC.
> SQL query fails if there are caches that were never used on this client
> -----------------------------------------------------------------------
>
> Key: IGNITE-2455
> URL: https://issues.apache.org/jira/browse/IGNITE-2455
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Reporter: Valentin Kulichenko
> Assignee: Valentin Kulichenko
> Priority: Blocker
> Labels: important
> Fix For: 1.6
>
> Attachments: QueryTest.java
>
>
> Test attached.
> If SQL query contains caches that were never acquired on the current client,
> it fails with the following exception:
> {noformat}
> org.h2.jdbc.JdbcSQLException: Schema "cache2" not found;
> {noformat}
> We should automatically detect the list of required caches and create them
> before executing the query.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)