Hello!

Cache name is independent of schema. Indeed you can set any schema for
cache by using ccfg.setSchema().

CREATE TABLE sets schema for cache to PUBLIC. You still get the cache that
you want.

Regards,
-- 
Ilya Kasnacheev


вт, 15 окт. 2019 г. в 00:18, Stephen <sdanaus...@factset.com>:

> Thanks. I'm confused as to the choice to allow me to create a cache in a
> SQL
> statement using the WITH clause, but not populate the table in that same
> clause. The statement
>
> create table batch_test (x varchar(10), y int, z float, PRIMARY KEY (y))
> with "CACHE_NAME=foo";
>
> seems to clearly indicate that I would like to create the table
> *batch_test*
> in cache *foo*. It even creates the cache for me. I would have at least
> expected cache creation to fail.
>
> How do I create a table in the cache I want (foo or bar)? Given that I'm
> unable to use the thick client, what would that syntax look like?
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to