New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LIMIT clause in the query has no effect when searching by id #128
Comments
Original issue reported on code.google.com by |
Original issue reported on code.google.com by |
Original issue reported on code.google.com by |
Original issue reported on code.google.com by |
Original issue reported on code.google.com by
|
It looks like this old bug has reappeared: >>> client.getApiVersion()
4.8.0
>>> client.search("SELECT o FROM Dataset o WHERE o.id = 616 LIMIT 200,100")
[(dataset){
createId = "simple/root"
createTime = 2017-01-03 13:34:08+00:00
id = 616
modId = "simple/root"
modTime = 2017-01-03 13:34:08+00:00
complete = False
name = "test_02_simpleupload"
}] |
I don't remember changing the test that should have detected this. I did throw out a lot of old code because of moving as much work as possible to the database. The difficulty is recognising the query which needs fixing. The simple one listed in the example is easy but it it may be in a subselect clause which then requires considerably more analysis. I will reopen the issue to keep a track of it. |
Original issue reported on code.google.com by
rolf.krahl@helmholtz-berlin.de
on 2014-12-11 13:23:43The text was updated successfully, but these errors were encountered: