You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Konstantinov (JIRA)" <ji...@apache.org> on 2016/11/21 09:06:58 UTC
[jira] [Created] (IGNITE-4252) ClassCastException with local cache
query
Pavel Konstantinov created IGNITE-4252:
------------------------------------------
Summary: ClassCastException with local cache query
Key: IGNITE-4252
URL: https://issues.apache.org/jira/browse/IGNITE-4252
Project: Ignite
Issue Type: Bug
Components: SQL
Reporter: Pavel Konstantinov
Try to send query for local cache to partitioned cache for executing:
select * from "local_cache".Table
{code}
java.lang.ClassCastException: org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache cannot be cast to org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter
at org.apache.ignite.internal.processors.cache.GridCacheContext.topology(GridCacheContext.java:853)
at org.apache.ignite.internal.processors.cache.GridCacheContext.topology(GridCacheContext.java:831)
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.hasMovingPartitions(GridReduceQueryExecutor.java:389)
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.isPreloadingActive(GridReduceQueryExecutor.java:376)
at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:520)
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$5.iterator(IgniteH2Indexing.java:1089)
at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:81)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)