You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vasiliy Sisko (JIRA)" <ji...@apache.org> on 2018/03/15 08:39:00 UTC
[jira] [Created] (IGNITE-7960) Wrong type name in cache metadata on
query execution
Vasiliy Sisko created IGNITE-7960:
-------------------------------------
Summary: Wrong type name in cache metadata on query execution
Key: IGNITE-7960
URL: https://issues.apache.org/jira/browse/IGNITE-7960
Project: Ignite
Issue Type: Bug
Components: cache, sql
Affects Versions: 2.5
Reporter: Vasiliy Sisko
Assignee: Vladimir Ozerov
Attachments: Country.java, TestQuery.java
1) On run of demo mode in Web console in Queries page for every query showed error. F.e.:
Error: Table "CAR" not found.
After debug I notice that org.h2.schema.Schema#tablesAndViews map contains key with type name stored as "Car". In that case query parser require "CAR" name and query fail.
Caches created by invocation of java config org.apache.ignite.Ignite#getOrCreateCaches
I create simple reproducer (See files TestQuery.java and Country.java), but metadata and parser in that case use the same name "Car".
Caches created by invocation of java config org.apache.ignite.Ignite#getOrCreateCaches
Configured in XML cache has normalised name of type "CAR". In that case parser too require "CAR" name and work without error.
Caches created in process of cluster activation
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)