You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running the ignite queries through code and through Dbeaver (thin client) the results are not as expected .
Example : if running query like
Select * from where = 'itemCon1-15';
Then it returns a empty set despite value is present.
Is '-' not supported in ignite?
The text was updated successfully, but these errors were encountered:
Can't reproduce, could you please share a full reproducer (a project to run)?
Here is what I tried (in C#, but it works the same in Java)
usingApache.Ignite.Core.Cache.Configuration;usingApache.Ignite.Core.Cache.Query;usingvarignite=Apache.Ignite.Core.Ignition.Start();varcfg=newCacheConfiguration("person",newQueryEntity(typeof(int),typeof(Person)));varcache=ignite.GetOrCreateCache<int,Person>(cfg);cache[1]=newPerson("foo-bar");Query("select * from Person where name = ?","foo-bar");Query("select * from Person where name = 'foo-bar'");voidQuery(stringq,paramsobject[]args){varres=cache.Query(newSqlFieldsQuery(q,args)).GetAll();Console.WriteLine($">>>> Query '{q}' returned {res.Count} results: ");foreach(varrowinres){Console.WriteLine(string.Join(", ",row));}}publicrecordPerson([property:QuerySqlField]stringName);
Results:
>>>> Query 'select * from Person where name = ?' returned 1 results:
foo-bar
>>>> Query 'select * from Person where name = 'foo-bar'' returned 1 results:
foo-bar
While running the ignite queries through code and through Dbeaver (thin client) the results are not as expected .
Example : if running query like
Select * from where = 'itemCon1-15';
Then it returns a empty set despite value is present.
Is '-' not supported in ignite?
The text was updated successfully, but these errors were encountered: