Hi all,
This is my first post in SCN, so forgive me if I posted in the wrong place.
Anyway, I am observing a strange behavior on my company's instance in SAP Hana cloud (hana.ondemand.com stated version: 0.51).
The strange behavior can be reproduced using the script below:
create column table "test_mod"( "test_int" bigint ); insert into "test_mod" values (5); insert into "test_mod" values (7); --should only returns 5, actually also returns 7 select * from "test_mod" where (0 = mod(5, "test_int")); --correctly returns 0 and 5 select mod(5, "test_int") from "test_mod"; --clean up drop table "test_mod";
Apparently from functional view point this seems to be a bug to me.
So I would appreciate it if some one can confirm:
1. Is this a feature or a bug? If it is a feature how this come about?
2. Is there any way to work around this? I need to filter a table based on the modulo operation!
Many thanks!!!