You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Stepanov Mikhail (JIRA)" <ji...@apache.org> on 2018/04/19 14:07:00 UTC
[jira] [Created] (IGNITE-8326) Can't execute SQL query for create
index
Stepanov Mikhail created IGNITE-8326:
----------------------------------------
Summary: Can't execute SQL query for create index
Key: IGNITE-8326
URL: https://issues.apache.org/jira/browse/IGNITE-8326
Project: Ignite
Issue Type: Bug
Reporter: Stepanov Mikhail
I try to execute SQL query
{code:java}
CREATE INDEX IF NOT EXISTS "personNameIndex" ON "person" ("name");{code}
using method
{code:java}
cache.query(query).getColumnsCount(){code}
and this call is never ends, because it contains semicolon.
See the code in org.apache.ignite.internal.sql.command.SqlCreateIndexCommand method parseIndexProperties. This method doesn't break when tokenType is SEMICOLON, but break when tokenType is EOF
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)