ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgenii Zhuravlev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10414) IF NOT EXISTS in CREATE TABLE doesn't work
Date Tue, 27 Nov 2018 00:39:00 GMT
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)

Mime
View raw message