Will ignite support the CREATE SCHEMA statement?

classic Classic list List threaded Threaded
2 messages Options
李玉珏@163 李玉珏@163
Reply | Threaded
Open this post in threaded view
|

Will ignite support the CREATE SCHEMA statement?

Hi,

Will ignite support the CREATE SCHEMA statement?

akorensh akorensh
Reply | Threaded
Open this post in threaded view
|

Re: Will ignite support the CREATE SCHEMA statement?

Hi,
   Ignite does not support CREATE SCHEMA at this time.
   You can create schemas via configuration:
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
    <property name="sqlSchemas">
        <list>
            <value>MY_SCHEMA</value>
            <value>MY_SECOND_SCHEMA</value>
        </list>
    </property>
</bean>
then use it when connecting:
 

via config or programmatically using CacheConfiguration.setSqlSchema 
    <bean class="org.apache.ignite.configuration.CacheConfiguration">
    <property name="sqlSchema" value="mySchema" />  

Thanks, Alex

On Thu, Aug 15, 2019 at 5:03 AM liyuj <[hidden email]> wrote:
Hi,

Will ignite support the CREATE SCHEMA statement?