You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/31 10:02:04 UTC

[jira] [Commented] (IGNITE-5320) Add well-known SQL schema where SQL caches will "live" by default

    [ https://issues.apache.org/jira/browse/IGNITE-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030927#comment-16030927 ] 

ASF GitHub Bot commented on IGNITE-5320:
----------------------------------------

GitHub user devozerov opened a pull request:

    https://github.com/apache/ignite/pull/2044

    IGNITE-5320

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-5320

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2044.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2044
    
----
commit c371dac0922599b661d101670db53ab133d7b214
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T07:56:11Z

    WIP on JDBC.

commit 3c5231fa86c1c861b757a5fdae460527e49583bb
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T08:02:03Z

    WIP.

commit 53aa78a58db52324741064b8049a5a0abc8b9f57
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T08:05:50Z

    Removed H2Schema.cacheName. Now need to remove context.

commit e9f7f0d2015b335113ab397aa8d12f37331daad1
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T08:08:17Z

    WIP.

commit 7bcb0af2c0ea0ca49a4535ebdc121992fcc78383
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T08:16:55Z

    WIP.

commit d3a5972ae925675a08dd03ee465a19bda5b9e6b8
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T08:29:06Z

    WIP.

commit 5ad2e953f050e30bff038fe1bb9543e38df4c706
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T09:13:09Z

    WIP.

commit 8fc6234781ba1281451fc8eb4130561d31032412
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T09:27:40Z

    WIP.

commit df5c39d119381024e553d9b56467f7dc59e94868
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T09:36:47Z

    registerCache

commit e05db594e9cfd4fba3d8fc04b710c63e812c5ae4
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T09:49:55Z

    unregisterCache

commit ae746596c248bab66e6f3075c00ee5ec3ca78e3a
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T09:57:33Z

    WIP.

commit e11c6071ee83ca67dd96d2492c27db9c50b1d75f
Author: devozerov <vo...@gridgain.com>
Date:   2017-05-31T10:00:45Z

    Added deprecation.

----


> Add well-known SQL schema where SQL caches will "live" by default
> -----------------------------------------------------------------
>
>                 Key: IGNITE-5320
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5320
>             Project: Ignite
>          Issue Type: Task
>          Components: sql
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>             Fix For: 2.1
>
>
> Considerations:
> 1) Schema is always present and is never dropped
> 2) If {{CacheConfiguration.sqlSchema}} is not specified explicitly, cache should reside in default schema.
> 3) There should be a flag on cache configuration to allow fallback to previous behavior, when cache existed in separate schema equal to it's name.
> 4) CREATE TABLE can only create objects in default schema. Throw exception otherwise. That is, this is OK:
> {code}
> CREATE TABLE "default_schema".MyTable ...
> {code}
> And this is not:
> {code}
> CREATE TABLE "non_default_schema".MyTable ...
> {code}
> Default schema name should be {{public}}. This is well-known name of default schema, and moreover it already exists in H2.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)