2,482 ms vs. 9,119 ms vs. 7,991 ms
From: Andy Seaborne
Sent: Tuesday, September 22, 2015 3:50 PM
To: users@jena.apache.org
Subject: Re: question on LIMIT
On 22/09/15 19:06, Zen 98052 wrote:
> Thanks Andy! All those 3 queries work as expected. Just
On 22/09/15 19:06, Zen 98052 wrote:
Thanks Andy! All those 3 queries work as expected. Just an
information, the first query (putting OFFSET/LIMIT on the top most
query) is the fastest, second one is query that includes ?name in
grouping, and the last one is the one using SAMPLE function.
How mu
From: Andy Seaborne
Sent: Tuesday, September 22, 2015 12:30 PM
To: users@jena.apache.org
Subject: Re: question on LIMIT
On 22/09/15 17:02, Zen 98052 wrote:
> Hi Andy,
> I don't see any of my code referencing to QueryIterSlice or OpSlice.
> To answer question from Martyna
{ "type": "literal" , "xml:lang": "en" , "value": "C#" } ,
"no_entities": { "datatype": "http://www.w3.org/2001/XMLSchema#integer"; , "type":
"typed-literal" , "value": "12
atatype": "http://www.w3.org/2001/XMLSchema#integer";
, "type": "typed-literal" , "value": "75" }
}
]
}
If I modify the query to add OFFSET and also change the number on LIMIT, for
example:
# What languages are most popular in
On 22/09/15 15:42, Andy Seaborne wrote:
On 22/09/15 15:25, Zen 98052 wrote:
For example, the query result set (with ORDER clause) is [ a, b, c, d,
e, f, g, h, i, j ]
When I put OFFSET 4 and LIMIT 3 in the query, I got back [ d, e ] as
the result.
FWIW that is the result from OFFSET 2 and LIMI
Please post your query first.
On Tue, Sep 22, 2015 at 4:25 PM, Zen 98052 wrote:
> For example, the query result set (with ORDER clause) is [ a, b, c, d, e, f,
> g, h, i, j ]
>
> When I put OFFSET 4 and LIMIT 3 in the query, I got back [ d, e ] as the
> result.
>
> It should return 3 items inste
On 22/09/15 15:25, Zen 98052 wrote:
For example, the query result set (with ORDER clause) is [ a, b, c, d, e, f, g,
h, i, j ]
When I put OFFSET 4 and LIMIT 3 in the query, I got back [ d, e ] as the result.
FWIW that is the result from OFFSET 2 and LIMIT 2
It should return 3 items instead
For example, the query result set (with ORDER clause) is [ a, b, c, d, e, f, g,
h, i, j ]
When I put OFFSET 4 and LIMIT 3 in the query, I got back [ d, e ] as the result.
It should return 3 items instead of 2, where is the Jena code that I can debug
to find out the issue (likely bug in my code)