Re: Infer schema name from CacheConfiguration.sqlSchema

2018-08-13 Thread Pavel Tupitsyn
Thanks Vladimir, looks like l have to implement same rules in the LINQ provider, will do this as part of mentioned ticket. On Mon, Aug 13, 2018 at 2:25 PM Vladimir Ozerov wrote: > Hi Pavel, > > You are right, we have some non-obvious rules here, mainly legacy. Please > see how schema name is con

Re: Infer schema name from CacheConfiguration.sqlSchema

2018-08-13 Thread Vladimir Ozerov
Hi Pavel, You are right, we have some non-obvious rules here, mainly legacy. Please see how schema name is constructed here: org.apache.ignite.internal.processors.query.QueryUtils#normalizeSchemaName On Mon, Aug 13, 2018 at 1:55 PM Pavel Tupitsyn wrote: > Igniters, > > For .NET LINQ provider[1]

Infer schema name from CacheConfiguration.sqlSchema

2018-08-13 Thread Pavel Tupitsyn
Igniters, For .NET LINQ provider[1] I need to be able to infer SQL schema name from CacheConfiguration. Looks like value from CacheConfiguration gets uppercased when not quoted. So my logic for now is: * if config.SqlSchema == null, use config.name * otherwise, if config.SqlSchema does not con