You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Shtykh (JIRA)" <ji...@apache.org> on 2018/04/21 05:05:00 UTC
[jira] [Resolved] (IGNITE-8326) Can't execute SQL query for create
index
[ https://issues.apache.org/jira/browse/IGNITE-8326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shtykh resolved IGNITE-8326.
----------------------------------
Resolution: Duplicate
> 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
> Priority: Major
>
> 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)