Closed GoogleCodeExporter closed 9 years ago
Original comment by john.david.duncan
on 28 Apr 2007 at 6:08
The handling of filters was made simpler and cleaner in 330.
Filters were not being evaluated in case of a table scan -- this was fixed in
rev 331.
Currently, filters are working for integers, not working for strings, and I
have not tested decimal or float.
Original comment by john.david.duncan
on 20 Aug 2007 at 6:35
Successful test with decimal, in ver 340:
$ curl -i http://localhost:3080/ndb/test/dfilter?d2=3.14
HTTP/1.1 404 Not Found
Date: Mon, 20 Aug 2007 22:07:37 GMT
Server: Apache/1.3.33 (Darwin) NDB/5.1.20-beta
Transfer-Encoding: chunked
Content-Type: text/plain
No data could be found.
$ curl -i http://localhost:3080/ndb/test/dfilter?d2=3.1416
HTTP/1.1 200 OK
Date: Mon, 20 Aug 2007 22:07:41 GMT
Server: Apache/1.3.33 (Darwin) NDB/5.1.20-beta
Content-Length: 95
ETag: 0b4117f0bbb2cd15d2d706eb944767b0
Content-Type: text/plain
[
{ "i":1 , "d1":3.14 , "d2":3.1416 , "d3":3.1 , "d4":3.141592653589793000000000000000 }
]
Original comment by john.david.duncan
on 20 Aug 2007 at 10:09
As of revision 350 the following filters are tested and working:
CHAR =
VARCHAR =
int <
decimal <
CHAR like & notlike
VARCHAR like & not like
Original comment by john.david.duncan
on 23 Aug 2007 at 3:59
All the remains to do is a good set of test cases
Original comment by john.david.duncan
on 6 Sep 2007 at 3:51
Original comment by john.david.duncan
on 25 Sep 2007 at 6:02
Original issue reported on code.google.com by
john.david.duncan
on 22 Apr 2007 at 5:52