You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Evgenii Zhuravlev (JIRA)" <ji...@apache.org> on 2018/11/27 00:39:00 UTC
[jira] [Created] (IGNITE-10414) IF NOT EXISTS in CREATE TABLE
doesn't work
Evgenii Zhuravlev created IGNITE-10414:
------------------------------------------
Summary: IF NOT EXISTS in CREATE TABLE doesn't work
Key: IGNITE-10414
URL: https://issues.apache.org/jira/browse/IGNITE-10414
Project: Ignite
Issue Type: Bug
Components: sql
Affects Versions: 2.4
Reporter: Evgenii Zhuravlev
Reproducer:
{code:java}
Ignite ignite = Ignition.start();
ignite.getOrCreateCache("test").query(new SqlFieldsQuery("CREATE TABLE IF NOT EXISTS City(id LONG PRIMARY KEY,"
+ " name VARCHAR) WITH \"template=replicated\""));
ignite.getOrCreateCache("test").query(new SqlFieldsQuery("CREATE TABLE IF NOT EXISTS City(id LONG PRIMARY KEY,"
+ " name VARCHAR) WITH \"template=replicated\""));
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)