You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Patrick Logan <pa...@gmail.com> on 2012/04/23 01:11:15 UTC

Open iterator warning on sparql select count

I am executing a simple Sparql select (count(?var) as ?n) where {
simple pattern }

Doing so gets the following warning logged...

16:07:36 WARN  QueryIteratorCheck        :: Open iterator: QueryIterSingleton/7

Is this safely ignored?

This is jena-arq 2.9.0-incubating

Thanks
-Patrick

Re: Open iterator warning on sparql select count

Posted by Patrick Logan <pa...@gmail.com>.
Thanks Andy.

A couple things: since sending this email, something changed in the
system itself such that the warning no longer occurs.

However, FYI, nothing about the query itself has changed. This is a
fairly simple in-memory model, with ARQ running the query from the
java application.

The query itself is just:

select (count(?subject) as ?n)
where {
    ?subject a <some-urn>
}

-Patrick


On Mon, Apr 23, 2012 at 1:14 AM, Andy Seaborne <an...@apache.org> wrote:
> On 23/04/12 00:11, Patrick Logan wrote:
>>
>> I am executing a simple Sparql select (count(?var) as ?n) where {
>> simple pattern }
>
>
> What's the full query?
> How are you executing it?
>
>
>>
>> Doing so gets the following warning logged...
>>
>> 16:07:36 WARN  QueryIteratorCheck        :: Open iterator:
>> QueryIterSingleton/7
>>
>> Is this safely ignored?
>
>
> Yes, it's an internal check that should not cause a warning - you should
> still get the right answers.
>
>> This is jena-arq 2.9.0-incubating
>
>
> You can try the development snapshot of 2.9.1:
>
> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/
>
>>
>> Thanks
>> -Patrick
>
>
>        Andy
>

Re: Open iterator warning on sparql select count

Posted by Andy Seaborne <an...@apache.org>.
On 23/04/12 00:11, Patrick Logan wrote:
> I am executing a simple Sparql select (count(?var) as ?n) where {
> simple pattern }

What's the full query?
How are you executing it?

>
> Doing so gets the following warning logged...
>
> 16:07:36 WARN  QueryIteratorCheck        :: Open iterator: QueryIterSingleton/7
>
> Is this safely ignored?

Yes, it's an internal check that should not cause a warning - you should 
still get the right answers.

> This is jena-arq 2.9.0-incubating

You can try the development snapshot of 2.9.1:

https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/

>
> Thanks
> -Patrick

	Andy