Re: How to use enums in sql ‘where’ clause when using Ignite Web Console

2019-03-15 Thread aealexsandrov
Hi,

Could you please share your CacheConfiguration where you set the EnumField
as a field in QueryEntity (just to have the same configuration)? I will try
to reproduce your issue and check how it works.

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


How to use enums in sql ‘where’ clause when using Ignite Web Console

2019-03-14 Thread Stanislav Bausov
I see there was closed issue:
https://issues.apache.org/jira/browse/IGNITE-3595 but my ignite web console
still shows enums like ‘com.example.MyEnum’, and when I try to query by it
get:

Error: Hexadecimal string contains non-hex character: “ENUM_VALUE"; SQL
statement: select _key, * from MyModel where enum_col = 'ENUM_VALUE';
[90004-197]