Hello!

You should not specify key_type in this case.

Can you show code of your cache store / factory?

Regards,
-- 
Ilya Kasnacheev


вт, 14 янв. 2020 г. в 19:18, siva <[email protected]>:

> Hi,
> yes,type of key is string.
> String cacheName="C091E548-B45A-49B4-B8EC-2CB5E27C7AF6";
> cacheCfg = new CacheConfiguration(cacheName)
>                 {
>                     Name = cacheName,
>                     CacheStoreFactory = new
> TenantCacheStoreFactory(_logger,
> connectionString),
>                     KeepBinaryInStore = false,  // Cache store works with
> deserialized data.
>                     ReadThrough = true,
>                     WriteThrough = true,
>                     WriteBehindEnabled = true,
>                     QueryEntities = queryList,
>                     WriteBehindFlushThreadCount = 2,
>                     CacheMode = CacheMode.Partitioned,
>                     Backups = 0,
>                     DataRegionName = "IgniteDataRegion",
>                     EvictionPolicy = new LruEvictionPolicy
>                     {
>                         MaxSize = 100000
>                     }
>                 };
>
> Table Create query:
> ---------------------------------
> CREATE TABLE IF NOT EXISTS
> "C091E548-B45A-49B4-B8EC-2CB5E27C7AF6".EntitiesPulsarTest(EntityId
> varchar,EntityType varchar,EntityInfoJson varchar,TenantName
> varchar,TenantId varchar,Fabric varchar,EntityName varchar,SequenceNumber
> Double,PRIMARY KEY(EntityId)) WITH
> "template=CacheConfigurationTemplate,backups=0";
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to