Open GoogleCodeExporter opened 9 years ago
I guess the problem is that no temporary table is created, so that the rownum
is not 'materialized'. In that case, filtering doesn't work. Example:
select rownum() r from system_range(1, 10);
select rownum() r from system_range(1, 10) where rownum() = 2;
The second query doesn't return any row. See also
http://h2database.com/html/functions.html#rownum
So I guess it's a bug (the behavior doesn't match the documentation), but I
will currently not have time to look at the issue.
Could you try to simplify the test case as much as possible, so that the
problem still occurs? That would help a lot.
Original comment by thomas.t...@gmail.com
on 12 Feb 2013 at 7:25
Original comment by thomas.t...@gmail.com
on 19 Oct 2013 at 8:39
Original issue reported on code.google.com by
pmilli...@gmail.com
on 6 Nov 2012 at 4:14Attachments: