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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)