orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

BYTE field behavior

Open spanyukov opened this issue 8 years ago • 3 comments

OrientDB Version: 3.0 RC1

Java Version:

OS: debian 9

Expected behavior

I have a field of type BYTE used as status field like 1,2,3 and etc. In orientdb web studio I created a record with status = 1

http://joxi.ru/LmG9BWBuR0Gk7A I expected to have this records returned with filter "where status = 1"

Actual behavior

I made a query like "select * from Class where status = 1" and got 0 records. Simple select without filter returns me this http://joxi.ru/823dBYBi60Y7WA

It works only if status value is like " status='1' " but 1 is not a string

Steps to reproduce

spanyukov avatar Feb 20 '18 09:02 spanyukov

Hi @futureglorydev

Thank you for reporting, I'll check it asap

Thanks

Luigi

luigidellaquila avatar Feb 21 '18 18:02 luigidellaquila

Hi @futureglorydev

I just pushed a fix for this bug, the snapshot will be available in a few minutes

Thanks

Luigi

luigidellaquila avatar Feb 23 '18 16:02 luigidellaquila

Thanks!

spanyukov avatar Feb 23 '18 21:02 spanyukov