You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgenii Zhuravlev (JIRA)" <ji...@apache.org> on 2018/11/27 00:39:00 UTC

[jira] [Updated] (IGNITE-10414) IF NOT EXISTS in CREATE TABLE doesn't work

     [ https://issues.apache.org/jira/browse/IGNITE-10414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgenii Zhuravlev updated IGNITE-10414:
---------------------------------------
    Affects Version/s: 2.7
                       2.6

> 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, 2.6, 2.7
>            Reporter: Evgenii Zhuravlev
>            Priority: Major
>
> 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)